diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-11-21 01:17:40 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-11-21 01:17:40 +0000 |
commit | df56e1f431553fe11f5a8e45d94d71e5bc584ad4 (patch) | |
tree | a49ff5cb6b00ab4e248704a358294b0151f9ee4f /math/octave-forge-ocs | |
parent | d9b2767be3eb8223e3bebb0529ddd1d8771bba4a (diff) | |
download | ports-df56e1f431553fe11f5a8e45d94d71e5bc584ad4.tar.gz ports-df56e1f431553fe11f5a8e45d94d71e5bc584ad4.zip |
Notes
Diffstat (limited to 'math/octave-forge-ocs')
-rw-r--r-- | math/octave-forge-ocs/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/math/octave-forge-ocs/Makefile b/math/octave-forge-ocs/Makefile index d19e59d1f968..b0c8a893e58d 100644 --- a/math/octave-forge-ocs/Makefile +++ b/math/octave-forge-ocs/Makefile @@ -13,7 +13,11 @@ CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} -WRKSRC= ${WRKDIR}/${DISTNAME}/src +# OCTSRC is the name of the directory of the package. +# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. +OCTSRC= ${DISTNAME} + +WRKSRC= ${WRKDIR}/${OCTSRC}/src RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:${PORTSDIR}/math/octave-forge-odepkg @@ -21,6 +25,6 @@ RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:${PORTSDIR}/math/octave-forge-odepkg .include "${PORTSDIR}/Mk/bsd.octave.mk" post-build: ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure - cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} + cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include <bsd.port.post.mk> |