diff options
author | cy <cy@FreeBSD.org> | 2014-06-10 13:09:09 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2014-06-10 13:09:09 +0800 |
commit | 5f4ee3cac28fa770365836ac6db8d37c7d7e3c24 (patch) | |
tree | 091476d27bee37900c0f1de70b48facd9034bcfe /x11-toolkits/slingshot | |
parent | 5db8874458fd0d8bcbb3538b0104e9e85bc13aed (diff) | |
download | freebsd-ports-gnome-5f4ee3cac28fa770365836ac6db8d37c7d7e3c24.tar.gz freebsd-ports-gnome-5f4ee3cac28fa770365836ac6db8d37c7d7e3c24.tar.zst freebsd-ports-gnome-5f4ee3cac28fa770365836ac6db8d37c7d7e3c24.zip |
Support stage. Update to new LIB_DEPENDS.
Diffstat (limited to 'x11-toolkits/slingshot')
-rw-r--r-- | x11-toolkits/slingshot/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/slingshot/files/patch-aa | 2 |
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-toolkits/slingshot/Makefile b/x11-toolkits/slingshot/Makefile index cf09882888f7..379af11c04c0 100644 --- a/x11-toolkits/slingshot/Makefile +++ b/x11-toolkits/slingshot/Makefile @@ -16,7 +16,7 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= cy@FreeBSD.org COMMENT= Supplemental Libraries to extend Xview -LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview +LIB_DEPENDS= libxview.so:${PORTSDIR}/x11-toolkits/xview WRKSRC= ${WRKDIR}/sspkg2.1 USE_LDCONFIG= yes @@ -24,13 +24,17 @@ USES= gmake MAKE_JOBS_UNSAFE= yes MAKE_ENV= OPENWINHOME=${LOCALBASE} -NO_STAGE= yes +.include <bsd.port.pre.mk> + +IMAKECPPFLAGS+= -DXVDestDir=${STAGEDIR}${PREFIX} +MAKE_ARGS= STAGEDIR=${STAGEDIR} + post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR} - ${GZIP_CMD} ${DOCSDIR}/README ${DOCSDIR}/*.ps + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR} + ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/*.ps .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/slingshot/files/patch-aa b/x11-toolkits/slingshot/files/patch-aa index 7902fdc3c825..43af6bca1a09 100644 --- a/x11-toolkits/slingshot/files/patch-aa +++ b/x11-toolkits/slingshot/files/patch-aa @@ -13,7 +13,7 @@ # @(#) Makefile 1.21 93/10/25 SSPKGHOME = . -! INSTALL_DIR = $(PREFIX) +! INSTALL_DIR = ${STAGEDIR}$(PREFIX) TARFILE = /home2/tmp/sspkgs-tar SRCDIR = $(SSPKGHOME)/src |