Support staging

This commit is contained in:
Emanuel Haupt 2014-02-19 08:54:12 +00:00
parent 8b2376edd6
commit 227228315a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345026
2 changed files with 8 additions and 5 deletions

View file

@ -12,13 +12,13 @@ COMMENT= Fibonacci Heap Library
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN3= fh_extractmin.3 fh_makeheap.3 fh_makekeyheap.3
MANPAGES= fh_extractmin.3 fh_makeheap.3 fh_makekeyheap.3
NO_STAGE= yes
post-install:
${LN} -sf ${PREFIX}/lib/libfib.so.1 ${PREFIX}/lib/libfib.so
.for mf in ${MAN3}
${INSTALL_MAN} ${WRKSRC}/${mf} ${PREFIX}/man/man3/
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfib.so.1
@(cd ${STAGEDIR}${PREFIX}/lib/; ${LN} -sf libfib.so.1 libfib.so)
.for mf in ${MANPAGES}
${INSTALL_MAN} ${WRKSRC}/${mf} ${STAGEDIR}${PREFIX}/man/man3/
.endfor
.include <bsd.port.mk>

View file

@ -3,3 +3,6 @@ lib/libfib.a
lib/libfib.so
lib/libfib.so.1
lib/libfib_p.a
man/man3/fh_extractmin.3.gz
man/man3/fh_makeheap.3.gz
man/man3/fh_makekeyheap.3.gz