aboutsummaryrefslogtreecommitdiff
path: root/astro/pp3
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2014-06-01 09:00:15 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2014-06-01 09:00:15 +0000
commitb3f95b0e35b44920caf8a234bf0a9b80104b4634 (patch)
treea682cc9d46cc0e41d0ad2c5e6334969995c75000 /astro/pp3
parent02fe5fe0ccd1c85834e1677e974bfca0e56f138c (diff)
downloadports-b3f95b0e35b44920caf8a234bf0a9b80104b4634.tar.gz
ports-b3f95b0e35b44920caf8a234bf0a9b80104b4634.zip
cat astro / benchmarks
- USE_(BZIP2|XZ) -> USES=tar:(bzip2|xz) - adjust BSDn License
Notes
Notes: svn path=/head/; revision=356065
Diffstat (limited to 'astro/pp3')
-rw-r--r--astro/pp3/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/astro/pp3/Makefile b/astro/pp3/Makefile
index e808555f6f84..7d53b844b43e 100644
--- a/astro/pp3/Makefile
+++ b/astro/pp3/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/PP3/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates celestial charts
-USE_BZIP2= yes
+USES= tar:bzip2
USE_TEX= latex
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -18,21 +18,17 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
do-build:
- cd ${WRKSRC} \
- && ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3
+ (cd ${WRKSRC} \
+ && ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pp3 ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.dat ${STAGEDIR}${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>