# ex:ts=8 # Ports collection makefile for: gsubedit # Date created: Mar 12, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= gsubedit PORTVERSION= 0.3 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org PORTCOMMENT= GNOME Subtitle Editor USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOMENG= yes USE_GNOME= gnomeprefix gnomehack gnomelibs GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: @${REINPLACE_CMD} -e 's|Bison |Bison|g ; \ s|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^gsubeditdoc|#gsubeditdoc|g ; \ s|-g -O2|| ' post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in AUTHORS ChangeLog INSTALL README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif .include <bsd.port.mk>