diff options
author | bapt <bapt@FreeBSD.org> | 2014-02-28 16:34:57 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-02-28 16:34:57 +0800 |
commit | 504e40836c6bd83e63e897475e4b7e4814f6377d (patch) | |
tree | 20c0a56ac43fce74c5b4a128924e9bc65d9c5fc1 /x11-wm | |
parent | 937d7a6e50c8541ecf0cc84e33e0f077201258d5 (diff) | |
download | freebsd-ports-gnome-504e40836c6bd83e63e897475e4b7e4814f6377d.tar.gz freebsd-ports-gnome-504e40836c6bd83e63e897475e4b7e4814f6377d.tar.zst freebsd-ports-gnome-504e40836c6bd83e63e897475e4b7e4814f6377d.zip |
Support stage, cleanup a bit
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/lwm/Makefile | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/x11-wm/lwm/Makefile b/x11-wm/lwm/Makefile index e4d13f658bee..dbdbf354b627 100644 --- a/x11-wm/lwm/Makefile +++ b/x11-wm/lwm/Makefile @@ -21,24 +21,13 @@ MAKE_ARGS= LDFLAGS="${LDFLAGS}" CFLAGS+= `pkg-config --cflags sm x11 xext ice` -DSHAPE LDFLAGS+= `pkg-config --libs sm x11 xext ice` -MAN1= ${PORTNAME}.1 PORTDOCS= AUTHORS BUGS ChangeLog README TODO -PLIST_FILES= bin/${PORTNAME} - -NO_STAGE= yes -.include <bsd.port.options.mk> - -post-patch: - @${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1 +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTSNAME}.1.gz do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |