summaryrefslogtreecommitdiffstats
path: root/archivers/lbrate/Makefile
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-07-14 02:37:44 +0000
committersf <sf@FreeBSD.org>2003-07-14 02:37:44 +0000
commite4c18f2955f27cbf53bbe698b6182ffe3eb91f30 (patch)
treef9e659e32fcfa76d66c0b6fa01e9a87e7ca1c4a6 /archivers/lbrate/Makefile
parent95b6ba9e63e84046c152afeb7a530d2485f9dd3d (diff)
downloadFreeBSD-ports-e4c18f2955f27cbf53bbe698b6182ffe3eb91f30.zip
FreeBSD-ports-e4c18f2955f27cbf53bbe698b6182ffe3eb91f30.tar.gz
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead. respect CC, CFLAGS.
Diffstat (limited to 'archivers/lbrate/Makefile')
-rw-r--r--archivers/lbrate/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
index 6801866..3d7ddcd 100644
--- a/archivers/lbrate/Makefile
+++ b/archivers/lbrate/Makefile
@@ -7,22 +7,20 @@
PORTNAME= lbrate
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/utils/compress/
MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT= Extract/decompress CP/M LBR archives
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
+USE_GETOPT_LONG=yes
USE_REINPLACE= yes
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
MAN1= lbrate.1
-post-patch:
- @${REINPLACE_CMD} -e "s,^CC|^PREFIX,#,g" ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
OpenPOWER on IntegriCloud