summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-26 14:41:30 +0000
committerkevlo <kevlo@FreeBSD.org>2000-11-26 14:41:30 +0000
commit08184e6c66c9d885c75e487adf025b924cafe53d (patch)
tree570fa304511e1388d708b027c23f339604141104
parent703b20ba521382f88990b39dc113f82ac0b810ef (diff)
downloadFreeBSD-ports-08184e6c66c9d885c75e487adf025b924cafe53d.zip
FreeBSD-ports-08184e6c66c9d885c75e487adf025b924cafe53d.tar.gz
- Support CC/CFLAGS properly
- Add manpage PR: 23071 Submitted by: Ports Fury
-rw-r--r--converters/base64/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/converters/base64/Makefile b/converters/base64/Makefile
index 6059696..2a719d8 100644
--- a/converters/base64/Makefile
+++ b/converters/base64/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: groach
+# New ports collection makefile for: base64
# Date created: 29 Oct 2000
# Whom: will
#
@@ -13,10 +13,17 @@ DISTNAME= b64
MAINTAINER= ports@FreeBSD.org
-ALL_TARGET= clean all
WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+ALL_TARGET= clean all
+MAN1= base64.1
+
+post-patch:
+ @${PERL} -pi.in -e "s|b64|base64|g" ${WRKSRC}/*.c
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/base64 ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/base64.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
OpenPOWER on IntegriCloud