diff options
author | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2013-10-25 19:35:57 +0000 |
---|---|---|
committer | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2013-10-25 19:35:57 +0000 |
commit | 52281d4bb23f4f1bdb5329c1ed35b1cf5a4312a5 (patch) | |
tree | 1adc6006a877a6c36174484b866aa66a59351846 | |
parent | d355a2bc9d1f8a2a715d9522e90df332424b28c6 (diff) | |
download | ports-52281d4bb23f4f1bdb5329c1ed35b1cf5a4312a5.tar.gz ports-52281d4bb23f4f1bdb5329c1ed35b1cf5a4312a5.zip |
- Support STAGEDIR
Notes
Notes:
svn path=/head/; revision=331627
-rw-r--r-- | textproc/libxdiff/Makefile | 17 | ||||
-rw-r--r-- | textproc/libxdiff/pkg-plist | 6 |
2 files changed, 19 insertions, 4 deletions
diff --git a/textproc/libxdiff/Makefile b/textproc/libxdiff/Makefile index 2254e3bccea6..8d6fc0cb5cc8 100644 --- a/textproc/libxdiff/Makefile +++ b/textproc/libxdiff/Makefile @@ -18,8 +18,17 @@ USE_AUTOTOOLS= libtool USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-shared --enable-static -MAN3= xdiff.3 -PLIST_FILES= include/xdiff.h lib/libxdiff.a lib/libxdiff.so \ - lib/libxdiff.so.0 lib/libxdiff.la -NO_STAGE= yes +LIBFILES= libxdiff.a libxdiff.la libxdiff.so libxdiff.so.0 + +do-install: + ${INSTALL_DATA} ${WRKSRC}/xdiff/xdiff.h ${STAGEDIR}${PREFIX}/include +.for libs in ${LIBFILES} + ${INSTALL_DATA} ${WRKSRC}/xdiff/.libs/${libs} ${STAGEDIR}${PREFIX}/lib/ +.endfor + ${INSTALL_MAN} ${WRKSRC}/man/xdiff.3 ${STAGEDIR}${MAN1PREFIX}/man/man3 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxdiff.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxdiff.so.0 + .include <bsd.port.mk> diff --git a/textproc/libxdiff/pkg-plist b/textproc/libxdiff/pkg-plist new file mode 100644 index 000000000000..85cd9938c0a1 --- /dev/null +++ b/textproc/libxdiff/pkg-plist @@ -0,0 +1,6 @@ +include/xdiff.h +lib/libxdiff.a +lib/libxdiff.la +lib/libxdiff.so +lib/libxdiff.so.0 +man/man3/xdiff.3.gz |