diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-23 10:46:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-12-23 10:46:49 +0800 |
commit | feec5245dc019ccdea87e88fdab3347d8b091efa (patch) | |
tree | dddf415256c35e22cdeee34bce264378507d68a5 /graphics/libwmf | |
parent | 85df019662600faae9ef204b07236974adc00f40 (diff) | |
download | freebsd-ports-gnome-feec5245dc019ccdea87e88fdab3347d8b091efa.tar.gz freebsd-ports-gnome-feec5245dc019ccdea87e88fdab3347d8b091efa.tar.zst freebsd-ports-gnome-feec5245dc019ccdea87e88fdab3347d8b091efa.zip |
- Support staging
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'graphics/libwmf')
-rw-r--r-- | graphics/libwmf/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile index ef1a185e0756..2fd3937c4449 100644 --- a/graphics/libwmf/Makefile +++ b/graphics/libwmf/Makefile @@ -13,9 +13,9 @@ COMMENT= Tools and library for converting Microsoft WMF (windows metafile) LICENSE= GPLv2 BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png \ - freetype:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng.so:${PORTSDIR}/graphics/png \ + libfreetype.so:${PORTSDIR}/print/freetype2 USE_AUTOTOOLS= libtool USE_GNOME= libxml2 @@ -28,9 +28,8 @@ USE_LDCONFIG= yes PORTDOCS= * OPTIONS_DEFINE= X11 -OPTIONS_DEFAULT= X11 +OPTIONS_DEFAULT=X11 -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MX11} @@ -55,10 +54,10 @@ post-patch: post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} @${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . | \ - ${TAR} -C ${DOCSDIR} --unlink -xf - - @${CHOWN} -R ${SHAREOWN}:${SHAREGROUP} ${DOCSDIR} + ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf - + @${CHOWN} -R ${SHAREOWN}:${SHAREGROUP} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |