diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 18:09:31 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 18:09:31 +0800 |
commit | 4d48a24668ce75f110b8b3d803df058d63ce2d1f (patch) | |
tree | febc26176014d50316aa671a498f2e2dde936ecf | |
parent | a64744500a46dd8fb1530de2b527e54b15b19a24 (diff) | |
download | freebsd-ports-gnome-4d48a24668ce75f110b8b3d803df058d63ce2d1f.tar.gz freebsd-ports-gnome-4d48a24668ce75f110b8b3d803df058d63ce2d1f.tar.zst freebsd-ports-gnome-4d48a24668ce75f110b8b3d803df058d63ce2d1f.zip |
Support staging
-rw-r--r-- | net/vncreflector/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/net/vncreflector/Makefile b/net/vncreflector/Makefile index 743688f0a912..d50f8ab135fd 100644 --- a/net/vncreflector/Makefile +++ b/net/vncreflector/Makefile @@ -10,24 +10,23 @@ DISTNAME= vnc_reflector-${PORTVERSION} MAINTAINER= paul@it.ca COMMENT= Multi-client VNC proxy server -LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg USE_RC_SUBR= vncreflector ALL_TARGET= default WRKSRC= ${WRKDIR}/vnc_reflector -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${MKDIR} -m0750 ${PREFIX}/etc/${PORTNAME} - @${CHOWN} root:wheel ${PREFIX}/etc/${PORTNAME} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} -m0750 ${STAGEDIR}${PREFIX}/etc/${PORTNAME} + @${CHOWN} root:wheel ${STAGEDIR}${PREFIX}/etc/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |