svn commit: r359851 - head/databases/bbdb

Dryice Dong Liu dryice at FreeBSD.org
Mon Jun 30 14:31:34 UTC 2014


Author: dryice
Date: Mon Jun 30 14:31:34 2014
New Revision: 359851
URL: http://svnweb.freebsd.org/changeset/ports/359851
QAT: https://qat.redports.org/buildarchive/r359851/

Log:
  - support stage
  - support options

Modified:
  head/databases/bbdb/Makefile

Modified: head/databases/bbdb/Makefile
==============================================================================
--- head/databases/bbdb/Makefile	Mon Jun 30 14:24:44 2014	(r359850)
+++ head/databases/bbdb/Makefile	Mon Jun 30 14:31:34 2014	(r359851)
@@ -26,13 +26,14 @@ MAKE_JOBS_UNSAFE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-emacs=${EMACS_CMD}
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-install:
-	${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
-	${INSTALL_DATA} ${WRKSRC}/texinfo/bbdb.info ${PREFIX}/info
-	install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${PREFIX}/info/bbdb.info ${PREFIX}/info/dir
+	${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+.if ${PORT_OPTIONS:MDOCS}
+	${INSTALL_DATA} ${WRKSRC}/texinfo/bbdb.info ${STAGEDIR}${PREFIX}/info
+	install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${STAGEDIR}${PREFIX}/info/bbdb.info ${STAGEDIR}${PREFIX}/info/dir
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list