From 08184e6c66c9d885c75e487adf025b924cafe53d Mon Sep 17 00:00:00 2001 From: kevlo Date: Sun, 26 Nov 2000 14:41:30 +0000 Subject: - Support CC/CFLAGS properly - Add manpage PR: 23071 Submitted by: Ports Fury --- converters/base64/Makefile | 11 +++++++++-- 1 file 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 -- cgit v1.1