freebsd-ports/graphics/fig2pstricks/Makefile
Kirill Ponomarev b5a0d3fe92 Support CC properly
PR:		ports/80204
Submitted by:	Ports Fury
2005-04-21 15:20:41 +00:00

29 lines
572 B
Makefile

# ex:ts=8
# Ports collection makefile for: fig2pstricks
# Date created: Mar 4, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= fig2pstricks
PORTVERSION= 0.6.6
CATEGORIES= graphics
MASTER_SITES= http://www.vuw.ac.nz/staff/chirok_han/fig2pstricks/
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert xfig to pstricks
USE_REINPLACE= yes
USE_GMAKE= yes
PLIST_FILES= bin/fig2pstricks
post-patch:
@${REINPLACE_CMD} -e 's|gcc|$$(CC)|g ; \
s|^CFLAGS|#CFLAGS|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>