aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-20 23:36:14 +0800
committerbsam <bsam@FreeBSD.org>2013-06-20 23:36:14 +0800
commit7670df19ffc0e1b42985034f2a22db008bfe07df (patch)
tree39bb1a94c3afbf516a518aaff813d0b6cce4416d
parent6c834b6bd2bf5800dba2353110362a664ff0fe40 (diff)
downloadfreebsd-ports-gnome-7670df19ffc0e1b42985034f2a22db008bfe07df.tar.gz
freebsd-ports-gnome-7670df19ffc0e1b42985034f2a22db008bfe07df.tar.zst
freebsd-ports-gnome-7670df19ffc0e1b42985034f2a22db008bfe07df.zip
. NOPORTDOCS~> PORT_OPTIONS:MDOCS;
. trim Makefile headers.
-rw-r--r--comms/cdr_read/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/comms/cdr_read/Makefile b/comms/cdr_read/Makefile
index c3597dd4e49d..ec6f0b1b44af 100644
--- a/comms/cdr_read/Makefile
+++ b/comms/cdr_read/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cdr_read
-# Date created: 15 June 2004
-# Whom: Konstantin Reznichenko <kot@premierbank.dp.ua>
-#
+# Created by: Konstantin Reznichenko <kot@premierbank.dp.ua>
# $FreeBSD$
-#
PORTNAME= cdr_read
PORTVERSION= 1.09
@@ -21,9 +17,13 @@ NO_WRKSUBDIR= yes
PLIST_FILES= sbin/cdr_read
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/readme_eng.txt ${DOCSDIR}/readme.txt
.endif