# ex:ts=8 # Ports collection makefile for: gfslicer # Date created: Jan 11, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= gfslicer PORTVERSION= 1.5.4 CATEGORIES= sysutils MASTER_SITES= http://www.geocities.com/gfslicer/ MAINTAINER= ports@FreeBSD.org BROKEN= "Does not build" BUILD_DEPENDS= ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14 USE_REINPLACE= yes USE_X_PREFIX= yes USE_GNOME= yes USE_GMAKE= yes GNU_CONFIGURE= yes MAN1= gfslicer.1 MANCOMPRESSED= yes post-extract: .for file in install-sh missing mkinstalldirs @${LN} -sf ${LOCALBASE}/share/automake14/automake/${file} ${WRKSRC} .endfor @${RM} -f ${WRKSRC}/config.cache post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' post-install: ${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MANPREFIX}/man/man1 .include