- Support CC properly

PR:		44978
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2002-11-07 11:33:21 +00:00
parent 673b54fee9
commit 86adfea3a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69649

View file

@ -8,6 +8,7 @@
PORTNAME= psmark
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www.antitachyon.com/download/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
@ -17,12 +18,11 @@ MAINTAINER= ports@FreeBSD.org
PORTCOMMENT= Renders a vertical string on any PostScript document
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
MAN1= psmark.1
post-patch:
@${REINPLACE_CMD} -e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/psmark ${PREFIX}/bin