aboutsummaryrefslogtreecommitdiff
path: root/archivers/ecm
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /archivers/ecm
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
downloadports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz
ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip
Notes
Diffstat (limited to 'archivers/ecm')
-rw-r--r--archivers/ecm/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/archivers/ecm/Makefile b/archivers/ecm/Makefile
index 96c8030ca6d5..b565a171656d 100644
--- a/archivers/ecm/Makefile
+++ b/archivers/ecm/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ecm
-# Date created: 9 Aug 2005
-# Whom: Emanuel Haupt <ehaupt@critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
-#
PORTNAME= ecm
PORTVERSION= 1.0
@@ -23,12 +19,16 @@ MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/ecm bin/unecm
PORTDOCS= format.txt
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
.for f in ${PORTNAME} un${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif