Date: Wed, 19 Jun 2013 19:01:47 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321309 - head/biology/babel Message-ID: <201306191901.r5JJ1lZ7035294@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Wed Jun 19 19:01:47 2013 New Revision: 321309 URL: http://svnweb.freebsd.org/changeset/ports/321309 Log: . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . use PLIST_FILES, PORTDATA and PORTDOCS; . use standard DATADIR and DOCSDIR (rather PREFIX/foo/bar); . remove pkg-plist. Deleted: head/biology/babel/pkg-plist Modified: head/biology/babel/Makefile Modified: head/biology/babel/Makefile ============================================================================== --- head/biology/babel/Makefile Wed Jun 19 18:56:37 2013 (r321308) +++ head/biology/babel/Makefile Wed Jun 19 19:01:47 2013 (r321309) @@ -16,16 +16,24 @@ CONFLICTS_INSTALL= openbabel-* MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +PLIST_FILES+= bin/babel libexec/babel +PORTDATA= element.lis new.lis quanta.lis types.lis +PORTDOCS= README.1ST + +OPTIONS_DEFINE= DOCS + post-build: ${SED} -e 's%@PREFIX@%${PREFIX}%g' \ ${FILESDIR}/babel.sh >${WRKSRC}/babel.sh +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/babel ${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKSRC}/babel.sh ${PREFIX}/bin/babel - @${MKDIR} ${PREFIX}/share/babel - ${INSTALL_DATA} ${WRKSRC}/*.lis ${PREFIX}/share/babel -.if !defined(NOPORTDOCS) + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.lis ${DATADIR} +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR} .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306191901.r5JJ1lZ7035294>