summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-04-01 19:41:31 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-04-01 19:41:31 +0000
commit6767942ea0dd1c4d8cc777b9cb9fb6bb9be17b35 (patch)
tree05648d361b5e89fb75e6d59a1c766128ceb929e4 /x11-wm
parent- Finish stage support (diff)
- Stage support
- Do not remove a directory belonging to BSD.local.dist mtree on uninstall Reported by: poudriere With hat: portmgr
Notes
Notes: svn path=/head/; revision=349882
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/evilwm/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/x11-wm/evilwm/Makefile b/x11-wm/evilwm/Makefile
index ccc69c43ed7e..9ce13954d631 100644
--- a/x11-wm/evilwm/Makefile
+++ b/x11-wm/evilwm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= evilwm
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.6809.org.uk/evilwm/
@@ -13,27 +14,22 @@ USES= gmake
USE_XORG= x11 xpm xext xrandr xrender
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-MAN1= evilwm.1
PORTDOCS= ChangeLog README TODO
PLIST_FILES= bin/evilwm \
+ man/man1/evilwm.1.gz \
${DESKTOPDIR:S,^${PREFIX}/,,}/${PORTNAME}.desktop
-PLIST_DIRSTRY= ${DESKTOPDIR:S,^${PREFIX}/,,}
# X11's include and library path
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
- ${MKDIR} ${DESKTOPDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/evilwm.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>