File:
[cvs.NetBSD.org] /
pkgsrc /
cad /
wcalc /
Makefile.common
Revision
1.8:
download - view:
text,
annotated -
select for diffs
Thu Feb 22 19:26:10 2007 UTC (17 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
# $NetBSD: Makefile.common,v 1.8 2007/02/22 19:26:10 wiz Exp $
#
DISTNAME= wcalc-1.0
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wcalc/}
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://wcalc.sourceforge.net/
DISTINFO_FILE= ${.CURDIR}/../../cad/wcalc/distinfo
PATCHDIR= ${.CURDIR}/../../cad/wcalc/patches
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= yes
# uses vpath and a GNU make pattern rule
USE_TOOLS+= gmake pkg-config
# subdirectory used by wcalc for headers, libexec stuff, etc.
WCALC_DIR= ${DISTNAME}
# where the HTML pages reside:
WCALC_HTMLDIR?= share/${WCALC_DIR}/htdocs
# URI for the static HTML content
WCALC_HTMLPATH?= /wcalc/
# where the CGI programs reside
WCALC_CGIDIR?= libexec/cgi-bin
# URI for the CGI programs
WCALC_CGIPATH?= /cgi-wcalc/
# setup the directories and URI path
CONFIGURE_ARGS+= --with-htmldir=${PREFIX}/${WCALC_HTMLDIR:Q}
CONFIGURE_ARGS+= --with-htmlpath=${WCALC_HTMLPATH:Q}
CONFIGURE_ARGS+= --with-cgibin=${PREFIX}/${WCALC_CGIDIR:Q}
CONFIGURE_ARGS+= --with-cgipath=${WCALC_CGIPATH:Q}
# make sure we can refer to these paths in the MESSAGE
MESSAGE_SUBST+= WCALC_CGIDIR=${WCALC_CGIDIR:Q}
MESSAGE_SUBST+= WCALC_CGIPATH=${WCALC_CGIPATH:Q}
MESSAGE_SUBST+= WCALC_HTMLDIR=${WCALC_HTMLDIR:Q}
MESSAGE_SUBST+= WCALC_HTMLPATH=${WCALC_HTMLPATH:Q}
MESSAGE_SUBST+= WCALC_DIR=${WCALC_DIR:Q}
# and the PLIST too
PLIST_SUBST+= WCALC_CGIDIR=${WCALC_CGIDIR:Q}
PLIST_SUBST+= WCALC_HTMLDIR=${WCALC_HTMLDIR:Q}
PLIST_SUBST+= WCALC_DIR=${WCALC_DIR:Q}
CVSweb <webmaster@jp.NetBSD.org>