aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dvdbackup
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 /sysutils/dvdbackup
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
downloadports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz
ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip
- Use DOC instead of NOPORTDOCS
- Pacify portlint - Convert header
Notes
Notes: svn path=/head/; revision=310443
Diffstat (limited to 'sysutils/dvdbackup')
-rw-r--r--sysutils/dvdbackup/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/dvdbackup/Makefile b/sysutils/dvdbackup/Makefile
index 8c0915d04c10..b4a8a1dfed6b 100644
--- a/sysutils/dvdbackup/Makefile
+++ b/sysutils/dvdbackup/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dvdbackup
-# Date created: 2004-09-24
-# Whom: Michael Johnson <ahze@FreeBSD.org>
-#
+# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= dvdbackup
PORTVERSION= 0.4.2
@@ -28,7 +24,11 @@ PORTDOCS= NEWS README
DEFAULT_DVD_DEVICE?= /dev/cd0
-.if !defined(WITHOUT_NLS)
+OPTIONS_DEFINE= DOCS NLS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
@@ -43,7 +43,7 @@ post-patch:
${WRKSRC}/README ${WRKSRC}/man/dvdbackup.1
pre-configure:
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: |' \
${WRKSRC}/Makefile.in
.endif