freebsd-ports/science/gdis/Makefile
Patrick Li cb1a5fa977 PERL -> REINPLACE_CMD
PR:		ports/39716 ports/39715 ports/39711
Submitted by:	Scott Flatman <sf@dsinw.com>
2002-06-23 20:56:43 +00:00

38 lines
824 B
Makefile

# ex:ts=8
# Ports collection Makefile for: gdis
# Date created: Mar 3, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gdis
PORTVERSION= 0.73.3
CATEGORIES= science
MASTER_SITES= ftp://ftp.seul.org/pub/gdis/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gtkextra:${PORTSDIR}/x11-toolkits/gtkextra \
gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
USE_REINPLACE= yes
USE_GTK= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
ALL_TARGET= # empty
post-patch:
@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/gdis.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdis ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gdis.lib ${DATADIR}
.include <bsd.port.mk>