Date: Mon, 31 Dec 2012 14:33:38 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309757 - head/audio/dir2ogg Message-ID: <201212311433.qBVEXco0051176@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Dec 31 14:33:37 2012 New Revision: 309757 URL: http://svnweb.freebsd.org/changeset/ports/309757 Log: Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS Trim headers Modified: head/audio/dir2ogg/Makefile Modified: head/audio/dir2ogg/Makefile ============================================================================== --- head/audio/dir2ogg/Makefile Mon Dec 31 14:30:40 2012 (r309756) +++ head/audio/dir2ogg/Makefile Mon Dec 31 14:33:37 2012 (r309757) @@ -1,9 +1,5 @@ -# New ports collection makefile for: dir2ogg -# Date created: 2008/01/26 -# Whom: chinsan -# +# Created by: chinsan # $FreeBSD$ -# PORTNAME= dir2ogg PORTVERSION= 0.11.8 @@ -27,6 +23,7 @@ MAN1= ${PORTNAME}.1 PORTDOCS= NEWS README PLIST_FILES= bin/${PORTNAME} +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e \ '/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME} @@ -34,7 +31,7 @@ post-patch: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311433.qBVEXco0051176>