2002-03-11 18:54:27 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gsubedit
|
|
|
|
# Date created: Mar 12, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-11-23 21:20:19 +01:00
|
|
|
PORTNAME= GSubEdit
|
|
|
|
PORTVERSION= 0.4.p1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 6
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia gnome
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}
|
2002-11-23 21:20:19 +01:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/pre/}
|
2002-03-11 18:54:27 +01:00
|
|
|
|
2005-09-25 05:08:30 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= GNOME Subtitle Editor is a tool for editing/converting video subtitles
|
2002-03-11 18:54:27 +01:00
|
|
|
|
2002-04-09 09:40:18 +02:00
|
|
|
USE_GMAKE= yes
|
2002-08-30 23:06:03 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs
|
2002-03-11 18:54:27 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-11-23 21:20:19 +01:00
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
2002-03-11 18:54:27 +01:00
|
|
|
|
|
|
|
post-patch:
|
2002-11-23 21:20:19 +01: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 \
|
2007-10-25 01:37:25 +02:00
|
|
|
's|^(packagepixmapsdir[[:space:]]*=).*$$|\1share/pixmaps/\$${PACKAGE}|' \
|
2002-11-23 21:20:19 +01:00
|
|
|
${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 \
|
2008-06-17 08:35:47 +02:00
|
|
|
's|^(install-data-am.+)install-gsubeditdocDATA|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2002-04-09 09:40:18 +02:00
|
|
|
.endif
|
2002-03-11 18:54:27 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|