- Switch to options helpers
- Use proper command for library installation
This commit is contained in:
parent
2833b42e4d
commit
b05489ca8a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404064
1 changed files with 5 additions and 3 deletions
|
@ -12,8 +12,6 @@ COMMENT= USGS General Cartographic Transformation Package (GCTP)
|
|||
|
||||
BROKEN= unfetchable
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}/source
|
||||
|
||||
USES= gmake tar:Z
|
||||
|
@ -21,16 +19,20 @@ ALL_TARGET= libgctpc.so.1
|
|||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${FIND} ${FILESDIR} -name "*.h" -not -name "patch-*" -exec \
|
||||
${INSTALL_DATA} {} ${WRKSRC} \;
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libgctpc.so.1 ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_LIB} ${WRKSRC}/libgctpc.so.1 ${STAGEDIR}${PREFIX}/lib
|
||||
${LN} -sf libgctpc.so.1 ${STAGEDIR}${PREFIX}/lib/libgctpc.so
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/gctpc
|
||||
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/gctpc
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}/README.main
|
||||
|
|
Loading…
Reference in a new issue