2002-03-11 17:54:27 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gsubedit
|
|
|
|
# Date created: Mar 12, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-11-23 20:20:19 +00:00
|
|
|
PORTNAME= GSubEdit
|
|
|
|
PORTVERSION= 0.4.p1
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
2002-11-28 00:09:51 +00:00
|
|
|
CATEGORIES= multimedia gnome
|
2002-03-11 17:54:27 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-11-23 20:20:19 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/pre/}
|
2002-03-11 17:54:27 +00:00
|
|
|
|
2002-11-23 20:20:19 +00:00
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2003-02-23 19:58:35 +00:00
|
|
|
COMMENT= GNOME Subtitle Editor is a tool for editing/converting video subtitles
|
2002-03-11 17:54:27 +00:00
|
|
|
|
2002-07-08 10:41:30 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-03-11 17:54:27 +00:00
|
|
|
USE_X_PREFIX= yes
|
2002-04-09 07:40:18 +00:00
|
|
|
USE_GMAKE= yes
|
2002-08-30 21:06:03 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs
|
2004-02-08 01:14:05 +00:00
|
|
|
USE_SIZE= yes
|
2002-03-11 17:54:27 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-11-23 20:20:19 +00:00
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
2002-03-11 17:54:27 +00:00
|
|
|
|
|
|
|
post-patch:
|
2002-11-23 20:20:19 +00:00
|
|
|
# CFLAGS safeness
|
|
|
|
# pthread safeness
|
|
|
|
@${REINPLACE_CMD} -E -e 's|-g -O2||; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
# prefix safeness for docs
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(gsubeditdocdir[[:space:]]*=).*$$|\1${DOCSDIR}|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
# prefix safeness for pixmaps
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(packagepixmapsdir[[:space:]]*=).*$$|\1share/gnome/pixmaps/\$${PACKAGE}|' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
|
|
|
|
# install neither charset.alias nor locale.alias. Therefore, do not
|
|
|
|
# build distfiles' gettext
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(SUBDIRS[[:space:]]*=.+)intl|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
# do not install docs
|
|
|
|
.ifdef(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(install-data-am.+)install-gsubeditdocDATA|\1|'
|
|
|
|
\ ${WRKSRC}/Makefile.in
|
2002-04-09 07:40:18 +00:00
|
|
|
.endif
|
2002-03-11 17:54:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|