aboutsummaryrefslogtreecommitdiff
path: root/math/gracetmpl
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-14 16:16:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-14 16:16:56 +0000
commit01cba1f3328be2826ef9915f24114981fff9ff4e (patch)
tree632f469ae5e5084d64ef380919d2f1068d08d443 /math/gracetmpl
parenta2aa5dfa475745e7bc1ea95534ba7d66d8ad2eeb (diff)
downloadports-01cba1f3328be2826ef9915f24114981fff9ff4e.tar.gz
ports-01cba1f3328be2826ef9915f24114981fff9ff4e.zip
Notes
Diffstat (limited to 'math/gracetmpl')
-rw-r--r--math/gracetmpl/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile
index f51ab8eebce9..d8cc2be153d4 100644
--- a/math/gracetmpl/Makefile
+++ b/math/gracetmpl/Makefile
@@ -8,13 +8,13 @@
PORTNAME= gracetmpl
PORTVERSION= 0.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-BUILD_DEPNEDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
-RUN_DEPNEDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric.pth:${PORTSDIR}/math/py-numeric
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy way to use existing grace-files as a template
@@ -23,11 +23,16 @@ USE_REINPLACE= yes
USE_GETOPT_LONG= yes
USE_PYTHON= yes
USE_GMAKE= yes
-CFLAGS+= "${CPPFLAGS}"
-MAKE_ENV= LDFLAGS="${LDFLAGS}"
ALL_TARGET= all pythonwrap
INSTALL_TARGET= install python_install
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+CFLAGS+= "${CPPFLAGS}"
+MAKE_ENV= LDFLAGS="${LDFLAGS}"
+.endif
+
post-extract:
@${CP} -f ${WRKSRC}/Makefile.defs.tmpl ${WRKSRC}/Makefile.defs
@@ -44,4 +49,4 @@ post-install:
@${CP} ${WRKSRC}/doc/html/* ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>