aboutsummaryrefslogtreecommitdiff
path: root/astro/wcslib/Makefile
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-11-10 17:27:16 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-11-10 17:27:16 +0000
commit87e4d0657e6888b2dd7f46879fdbe88e5168bb2a (patch)
tree87a00110bbdf839e0a2d22f4aafea43c82d7b83a /astro/wcslib/Makefile
parente9d8c3207ea5461719d6d9abb2518763f8813a76 (diff)
Notes
Diffstat (limited to 'astro/wcslib/Makefile')
-rw-r--r--astro/wcslib/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/astro/wcslib/Makefile b/astro/wcslib/Makefile
index c14f905ae510..5bce06b62bc7 100644
--- a/astro/wcslib/Makefile
+++ b/astro/wcslib/Makefile
@@ -9,7 +9,6 @@ MASTER_SITES= ftp://ftp.atnf.csiro.au/pub/software/wcslib/
MAINTAINER= tonymaher@optusnet.com.au
COMMENT= Library for parsing/generating FITS headers
-NO_STAGE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USES= gmake
@@ -17,7 +16,6 @@ MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
PLIST_SUB= VERSION="${PORTVERSION}"
-MAN1= fitshdr.1
# See makedefs.in which describes why you want to set the extra support.
# For most users it will not be required.
@@ -43,15 +41,13 @@ LIB_DEPENDS+= pgplot.5:${PORTSDIR}/graphics/pgplot
.endif
post-patch:
- @${REINPLACE_CMD} -e 's#%%PKGDIR%%#${LOCALBASE}/libdata#g' \
+ @${REINPLACE_CMD} -e 's#%%PKGDIR%%#${STAGEDIR}${PREFIX}/libdata#g' \
${WRKSRC}/GNUmakefile
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README COPYING COPYING.LESSER wcslib.pdf ${DOCSDIR})
- @${MKDIR} ${DOCSDIR}/html
- (cd ${WRKSRC}/html && ${INSTALL_DATA} * ${DOCSDIR}/html)
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README COPYING COPYING.LESSER wcslib.pdf ${STAGEDIR}${DOCSDIR})
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/html
+ (cd ${WRKSRC}/html && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/html)
.include <bsd.port.mk>