freebsd-ports/x11-fm/mtoolsfm/Makefile

30 lines
701 B
Makefile

# New ports collection makefile for: mfm
# Date created: 12 Jan 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
PORTNAME= mfm
PORTVERSION= 1.3
CATEGORIES= x11-fm
MASTER_SITES= http://www.core-coutainville.org/mfm/archive/SOURCES/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG}
CONFIGURE_ARGS= --disable-gtktest
post-patch:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/*.h
@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/*.h
.include <bsd.port.mk>