[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cad / wcalc

File: [cvs.NetBSD.org] / pkgsrc / cad / wcalc / Makefile.common (download)

Revision 1.6, Sun Jan 8 06:31:54 2006 UTC (12 years, 5 months ago) by dmcmahill
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.5: +9 -9 lines

update to wcalc-1.0.

- fixes a bug in the cgi frontend for coupled microstrip which caused
  lots of bad warning messages.

- replaces the alert dialog box with a log window which prevents multiple
  alert windows from appearing.

# $NetBSD: Makefile.common,v 1.6 2006/01/08 06:31:54 dmcmahill 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

# 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}