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-pt_br/Makefile | |
parent | Shorten some OPTION descriptions such that they (diff) |
- 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-pt_br/Makefile')
-rw-r--r-- | math/octave-forge-pt_br/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/math/octave-forge-pt_br/Makefile b/math/octave-forge-pt_br/Makefile index e374df1ac000..1ddff6e4fda4 100644 --- a/math/octave-forge-pt_br/Makefile +++ b/math/octave-forge-pt_br/Makefile @@ -13,12 +13,16 @@ CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} -WRKSRC= ${WRKDIR}/pt_BR/src +# OCTSRC is the name of the directory of the package. +# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. +OCTSRC= pt_BR + +WRKSRC= ${WRKDIR}/${OCTSRC}/src .include <bsd.port.pre.mk> .include "${PORTSDIR}/Mk/bsd.octave.mk" post-build: ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure - cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz pt_BR + cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include <bsd.port.post.mk> |