svn commit: r408213 - head/print/bibcursed
John Marino
marino at FreeBSD.org
Fri Feb 5 16:08:57 UTC 2016
Author: marino
Date: Fri Feb 5 16:08:55 2016
New Revision: 408213
URL: https://svnweb.freebsd.org/changeset/ports/408213
Log:
print/bibcursed: USES+= ncurses + tar, respect LDFLAGS
Also use "&&" and parentheses for compound commands.
Modified:
head/print/bibcursed/Makefile
Modified: head/print/bibcursed/Makefile
==============================================================================
--- head/print/bibcursed/Makefile Fri Feb 5 16:06:23 2016 (r408212)
+++ head/print/bibcursed/Makefile Fri Feb 5 16:08:55 2016 (r408213)
@@ -6,17 +6,18 @@ PORTVERSION= 2.0.1
CATEGORIES= print
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= Simple curses-based editor for BibTeX bibliography files
+USES= ncurses tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/bibcursed man/man1/bibcursed.1.gz
do-build:
- cd ${WRKSRC}; ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} -lncurses
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} \
+ ${PORTNAME}.c -o ${PORTNAME} ${LDFLAGS} -lncurses)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list