Date: Sun, 20 Sep 2015 18:59:31 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397383 - head/sysutils/dvdbackup Message-ID: <201509201859.t8KIxV8q040197@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Sep 20 18:59:30 2015 New Revision: 397383 URL: https://svnweb.freebsd.org/changeset/ports/397383 Log: - Switch to options helpers Approved by: portmgr blanket Modified: head/sysutils/dvdbackup/Makefile Modified: head/sysutils/dvdbackup/Makefile ============================================================================== --- head/sysutils/dvdbackup/Makefile Sun Sep 20 18:59:19 2015 (r397382) +++ head/sysutils/dvdbackup/Makefile Sun Sep 20 18:59:30 2015 (r397383) @@ -25,27 +25,18 @@ PORTDOCS= NEWS README DEFAULT_DVD_DEVICE?= /dev/cd0 OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+= --enable-nls -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} "s|/dev/dvd|${DEFAULT_DVD_DEVICE}|g" \ ${WRKSRC}/src/main.c ${WRKSRC}/po/*.po ${WRKSRC}/po/*.pot \ ${WRKSRC}/README ${WRKSRC}/man/dvdbackup.1 -pre-configure: -.if empty(PORT_OPTIONS:MDOCS) +pre-configure-DOCS-off: @${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: |' \ ${WRKSRC}/Makefile.in -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509201859.t8KIxV8q040197>