1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/geomorph/Makefile
Dmitry Marakasov e696084d23 Update my email address in 132 ports.
Approved by:	miwi (mentor)
2008-06-19 17:28:24 +00:00

35 lines
1.0 KiB
Makefile

# ports collection makefile for: geomorph
# Date created: 24 Feb 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= geomorph
PORTVERSION= 0.40
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Height field generator and editor
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local/share/geomorph|${DATADIR}|' ${WRKSRC}/install-step* ${WRKSRC}/install-user ${WRKSRC}/src/app/app.c
@${REINPLACE_CMD} -e 's|\$$HOME/geomorph|\$$HOME/.geomorph|' ${WRKSRC}/install-step* ${WRKSRC}/install-user
@${REINPLACE_CMD} -e '/DEFAULT_DIR/ s|geomorph|.geomorph|' ${WRKSRC}/src/app/globals.h ${WRKSRC}/src/hf/globals.h
@${RM} ${WRKSRC}/install-step*.bak ${WRKSRC}/install-user*.bak
.include <bsd.port.mk>