Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 19:41:31 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349882 - head/x11-wm/evilwm
Message-ID:  <201404011941.s31JfV7H048364@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Apr  1 19:41:31 2014
New Revision: 349882
URL: http://svnweb.freebsd.org/changeset/ports/349882
QAT: https://qat.redports.org/buildarchive/r349882/

Log:
  - Stage support
  - Do not remove a directory belonging to BSD.local.dist mtree on uninstall
  
  Reported by:	poudriere
  With hat:	portmgr

Modified:
  head/x11-wm/evilwm/Makefile

Modified: head/x11-wm/evilwm/Makefile
==============================================================================
--- head/x11-wm/evilwm/Makefile	Tue Apr  1 19:37:51 2014	(r349881)
+++ head/x11-wm/evilwm/Makefile	Tue Apr  1 19:41:31 2014	(r349882)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404011941.s31JfV7H048364>