aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2014-05-11 05:26:57 +0800
committerache <ache@FreeBSD.org>2014-05-11 05:26:57 +0800
commitba75feeee1bd570a6da88f20af5f41cfde50f262 (patch)
tree886e242bff1a5902859ce2c4629124741275a5ba /misc
parent7fdf26ac26584df8a98405f87c9ee06e9c3cb949 (diff)
downloadfreebsd-ports-gnome-ba75feeee1bd570a6da88f20af5f41cfde50f262.tar.gz
freebsd-ports-gnome-ba75feeee1bd570a6da88f20af5f41cfde50f262.tar.zst
freebsd-ports-gnome-ba75feeee1bd570a6da88f20af5f41cfde50f262.zip
Convert to stage
Diffstat (limited to 'misc')
-rw-r--r--misc/astrolog/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index 22c419f17b6f..0d2db721026d 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -3,7 +3,7 @@
PORTNAME= astrolog
PORTVERSION= 5.41g
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc astro
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/ephe/archive_gzip/:ephe \
ftp://ftp.astro.com/pub/swisseph/:libswe \
@@ -38,7 +38,6 @@ PORTDOCS= helpfile.540 readme.541 changes.txt
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
@@ -50,18 +49,15 @@ post-extract:
${RM} ${WRKDIR}/swe[a-z]*
do-install:
- -@${MKDIR} ${PREFIX}/lib/astrolog
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/astrolog
cd ${WRKDIR} && \
- ${INSTALL_DATA} fixstars.ast *.se1 ${PREFIX}/lib/astrolog
+ ${INSTALL_DATA} fixstars.ast *.se1 ${STAGEDIR}${PREFIX}/lib/astrolog
cd ${WRKSRC}; \
- ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
- if [ ! -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
- ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
- fi
- cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
+ ${INSTALL_DATA} astrolog.dat ${STAGEDIR}${PREFIX}/lib/astrolog/astrolog.dat-dist
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif
@${ECHO_MSG}
@${ECHO_MSG} "See the file ${PREFIX}/share/doc/astrolog/helpfile.540 for help"