aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-12-21 13:32:17 +0800
committerdanfe <danfe@FreeBSD.org>2012-12-21 13:32:17 +0800
commitcc24a3a4118bb0d01bb9419e368a5af4712d0190 (patch)
tree3acd77ea0625a934f84127caf13ad076b90ce650 /archivers
parent366535e8d2e8391b5cbf7ed9ef19d871309b5a71 (diff)
downloadfreebsd-ports-gnome-cc24a3a4118bb0d01bb9419e368a5af4712d0190.tar.gz
freebsd-ports-gnome-cc24a3a4118bb0d01bb9419e368a5af4712d0190.tar.zst
freebsd-ports-gnome-cc24a3a4118bb0d01bb9419e368a5af4712d0190.zip
- Trim Makefile header per new bylaws
- Drop indefinite article from COMMENT - Define LICENSE (and remove COPYING from portdocs) - Unmute installation commands - Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS Approved by: maintainer (gabor)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/cabextract/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/archivers/cabextract/Makefile b/archivers/cabextract/Makefile
index 9b2534ec321f..775b76122108 100644
--- a/archivers/cabextract/Makefile
+++ b/archivers/cabextract/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cabextract
-# Date Created: 30 November 2000
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= cabextract
PORTVERSION= 1.4
@@ -11,7 +7,9 @@ CATEGORIES= archivers
MASTER_SITES= http://www.cabextract.org.uk/
MAINTAINER= gabor@FreeBSD.org
-COMMENT= A program to extract Microsoft cabinet (.CAB) files
+COMMENT= Program to extract Microsoft cabinet (.CAB) files
+
+LICENSE= GPLv3
GNU_CONFIGURE= yes
@@ -19,24 +17,28 @@ MANLANG= "" ja
MAN1= cabextract.1
PLIST_FILES= bin/cabextract
-DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+DOCS= AUTHORS ChangeLog NEWS README TODO
DOC_DOCS= magic wince_cab_format.html
SRC_DOCS= wince_info wince_rename
PORTDOCS= ${DOCS} ${DOC_DOCS} ${SRC_DOCS}
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/cabextract.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${MAN1PREFIX}/man/ja/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in ${DOC_DOCS}
- @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.for i in ${SRC_DOCS}
- @${INSTALL_DATA} ${WRKSRC}/src/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/${i} ${DOCSDIR}
.endfor
.endif