aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-31 22:12:01 +0800
committerbapt <bapt@FreeBSD.org>2012-12-31 22:12:01 +0800
commit0ee43e8cae46267273481f17fb542aaada0beafc (patch)
treeca068ea5ac2b0e5c78f5cbddde9aacd9b833b0b1 /archivers
parent85a327ae3e9e8f630af4da1ea42b56284e50cfc9 (diff)
downloadfreebsd-ports-gnome-0ee43e8cae46267273481f17fb542aaada0beafc.tar.gz
freebsd-ports-gnome-0ee43e8cae46267273481f17fb542aaada0beafc.tar.zst
freebsd-ports-gnome-0ee43e8cae46267273481f17fb542aaada0beafc.zip
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unarj/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/archivers/unarj/Makefile b/archivers/unarj/Makefile
index e6d25d87932c..958fd278e052 100644
--- a/archivers/unarj/Makefile
+++ b/archivers/unarj/Makefile
@@ -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 from ARJ archives
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}