diff options
author | stephen <stephen@FreeBSD.org> | 2011-11-21 09:17:40 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2011-11-21 09:17:40 +0800 |
commit | 15f510895764d0ca91b3b5e0ff00062062228a82 (patch) | |
tree | f1ebccd821200bc4dad8b72848f19ed95689f5ed /math/octave-forge-fits | |
parent | 970f2630fdf56f4ed13e74663b362444d6795590 (diff) | |
download | freebsd-ports-gnome-15f510895764d0ca91b3b5e0ff00062062228a82.tar.gz freebsd-ports-gnome-15f510895764d0ca91b3b5e0ff00062062228a82.tar.zst freebsd-ports-gnome-15f510895764d0ca91b3b5e0ff00062062228a82.zip |
- Cosmetic change to Makefile. Use the variable OCTSRC to describe where the
contents of the package are stored. This should make it easier if other
people take over maintainership of the octave-forge-* ports.
Feature safe: yes
Diffstat (limited to 'math/octave-forge-fits')
-rw-r--r-- | math/octave-forge-fits/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/math/octave-forge-fits/Makefile b/math/octave-forge-fits/Makefile index 619dd2fccdc0..a59c93763fb7 100644 --- a/math/octave-forge-fits/Makefile +++ b/math/octave-forge-fits/Makefile @@ -12,7 +12,11 @@ CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} -WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src +# OCTSRC is the name of the directory of the package. +# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. +OCTSRC= ${OCTAVE_PKGNAME} + +WRKSRC= ${WRKDIR}/${OCTSRC}/src LIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio @@ -20,6 +24,6 @@ LIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio .include "${PORTSDIR}/Mk/bsd.octave.mk" post-build: ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure - cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} + cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include <bsd.port.post.mk> |