1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/science/gdis/Makefile
Mario Sergio Fujikawa Ferreira e02f54173a Deploy USE_GNOMENG infrastructure
PR:		42303
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2002-09-02 01:13:08 +00:00

39 lines
845 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_GNOMENG= yes
USE_GNOME= gtk12
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>