aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-28 16:46:09 +0800
committerbapt <bapt@FreeBSD.org>2014-02-28 16:46:09 +0800
commit7a71857f6d2c0501d0d4119cf3f06c7f7369a29c (patch)
treee1825d08c44e4042ee64dfa0d00cb24b46222e08 /x11-wm
parentd9d6ae28d3f61f92e6cdab7cba49b3492c479d16 (diff)
downloadfreebsd-ports-gnome-7a71857f6d2c0501d0d4119cf3f06c7f7369a29c.tar.gz
freebsd-ports-gnome-7a71857f6d2c0501d0d4119cf3f06c7f7369a29c.tar.zst
freebsd-ports-gnome-7a71857f6d2c0501d0d4119cf3f06c7f7369a29c.zip
Support stage
Use options Use do-install to avoid running buggy upstreamed install target
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/antiwm/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/x11-wm/antiwm/Makefile b/x11-wm/antiwm/Makefile
index 1a946f971986..a99e642d6a0e 100644
--- a/x11-wm/antiwm/Makefile
+++ b/x11-wm/antiwm/Makefile
@@ -7,14 +7,15 @@ CATEGORIES= x11-wm
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
-COMMENT= A minimalist window manager inspired by Ratpoison
+COMMENT= Minimalist window manager inspired by Ratpoison
+
+OPTIONS_DEFINE= DOCS
USE_XORG= x11
PLIST_FILES= bin/antiwm
PORTDOCS= README LICENSE
-NO_STAGE= yes
pre-everything::
@${ECHO_MSG} "You can build antiwm with your own conf.h using the ANTIWM_CONF knob:"
@${ECHO_MSG} "make ANTIWM_CONF=/path/to/antiwm/conf.h install clean"
@@ -25,11 +26,9 @@ post-extract:
@${CP} ${ANTIWM_CONF} ${WRKSRC}/conf.h
.endif
-post-install:
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>