- Support CC/CFLAGS properly

- Add manpage

PR: 23071
Submitted by: Ports Fury
This commit is contained in:
Kevin Lo 2000-11-26 14:41:30 +00:00
parent dcb3d9ca04
commit 9022193986
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35442

View File

@ -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>