From 5172c6e95e1f251bf7a7da8119d09ecad3f58431 Mon Sep 17 00:00:00 2001 From: John Marino Date: Fri, 5 Feb 2016 16:08:55 +0000 Subject: print/bibcursed: USES+= ncurses + tar, respect LDFLAGS Also use "&&" and parentheses for compound commands. --- print/bibcursed/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'print') diff --git a/print/bibcursed/Makefile b/print/bibcursed/Makefile index 5708733866e5..664eee0610ca 100644 --- a/print/bibcursed/Makefile +++ b/print/bibcursed/Makefile @@ -6,17 +6,18 @@ PORTVERSION= 2.0.1 CATEGORIES= print MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ports@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 -- cgit