svn commit: r309745 - head/archivers/unarj

Baptiste Daroussin bapt at FreeBSD.org
Mon Dec 31 14:12:02 UTC 2012


Author: bapt
Date: Mon Dec 31 14:12:01 2012
New Revision: 309745
URL: http://svnweb.freebsd.org/changeset/ports/309745

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
  Trim headers

Modified:
  head/archivers/unarj/Makefile

Modified: head/archivers/unarj/Makefile
==============================================================================
--- head/archivers/unarj/Makefile	Mon Dec 31 14:10:52 2012	(r309744)
+++ head/archivers/unarj/Makefile	Mon Dec 31 14:12:01 2012	(r309745)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    unarj
-# Date created:         28 Dec 1994
-# Whom:                 ache
-#
+# Created by: ache
 # $FreeBSD$
-#
 
 PORTNAME=	unarj
 PORTVERSION=	2.65
@@ -19,12 +15,13 @@ COMMENT=	Allows files to be extracted fr
 PLIST_FILES=	bin/unarj
 PORTDOCS=	unarj.txt technote.txt
 
+.include <bsd.port.options.mk>
 post-patch:
 	${CP} ${FILESDIR}/sanitize.c ${WRKSRC}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/unarj ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} ${DOCSDIR}
 .for i in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}


More information about the svn-ports-head mailing list