svn commit: r395923 - head/x11-wm/amiwm

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 2 22:49:15 UTC 2015


Author: amdmi3
Date: Wed Sep  2 22:49:14 2015
New Revision: 395923
URL: https://svnweb.freebsd.org/changeset/ports/395923

Log:
  - Fix shebangs
  - Pet portlint
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/x11-wm/amiwm/Makefile

Modified: head/x11-wm/amiwm/Makefile
==============================================================================
--- head/x11-wm/amiwm/Makefile	Wed Sep  2 22:44:12 2015	(r395922)
+++ head/x11-wm/amiwm/Makefile	Wed Sep  2 22:49:14 2015	(r395923)
@@ -3,6 +3,7 @@
 
 PORTNAME=	amiwm
 PORTVERSION=	0.21.pl2
+PORTREVISION=	1
 CATEGORIES=	x11-wm
 MASTER_SITES=	ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/
 DISTNAME=	${PORTNAME}0.21pl2
@@ -10,19 +11,20 @@ DISTNAME=	${PORTNAME}0.21pl2
 MAINTAINER=	dcarmich at dcarmichael.net
 COMMENT=	Window manager that makes your desktop look like an Amiga(TM)
 
+USES=		shebangfix
+SHEBANG_FILES=	Xinitrc.in \
+		Xsession.in \
+		Xsession2.in
 MAKE_JOBS_UNSAFE=	yes
 GNU_CONFIGURE=	yes
-USE_XORG=	x11 ice sm xext xmu
-OPTIONS_DEFINE=	DOCS
+USE_XORG=	ice sm x11 xext xmu
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${ECHO_MSG} "===>  Copying documents to ${DOCSDIR}"
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
-	@${INSTALL_DATA} ${WRKSRC}/README.modules ${STAGEDIR}${DOCSDIR}/README.modules
-.endif
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
+	${INSTALL_DATA} ${WRKSRC}/README.modules ${STAGEDIR}${DOCSDIR}/README.modules
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list