summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-03-05 20:56:40 +0000
committeradamw <adamw@FreeBSD.org>2004-03-05 20:56:40 +0000
commit61f1f02f86f33bd9c40c2d31cf5a02cd747ef91f (patch)
tree7a87d0df788153d6c21944e63e900052966965fb /multimedia
parentcc155d8f3fcde3cb9d96219a73c6972f098f78e3 (diff)
downloadFreeBSD-ports-61f1f02f86f33bd9c40c2d31cf5a02cd747ef91f.zip
FreeBSD-ports-61f1f02f86f33bd9c40c2d31cf5a02cd747ef91f.tar.gz
Fix build, use GNU_CONFIGURE instead of HAS_CONFIGURE and a
wacky do-configure target, and change the pkg-plist to add missing files. PORTREVISION bump cuz of that last change.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gmencoder/Makefile10
-rw-r--r--multimedia/gmencoder/pkg-plist2
2 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/gmencoder/Makefile b/multimedia/gmencoder/Makefile
index 11e1a49..ad06294 100644
--- a/multimedia/gmencoder/Makefile
+++ b/multimedia/gmencoder/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gmencoder
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,7 +19,7 @@ COMMENT= Gmencoder is Gnome2 front-end to mplayer/mencoder
BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
@@ -26,11 +27,8 @@ USE_GNOME= gnomehack gnomeprefix libgnomeui
USE_REINPLACE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
-
-do-configure:
- @cd ${WRKSRC}; \
- ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_ENV}
+ @${REINPLACE_CMD} -e 's|-O4||; s|type -path|which|' \
+ ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
diff --git a/multimedia/gmencoder/pkg-plist b/multimedia/gmencoder/pkg-plist
index da10381..165ab27 100644
--- a/multimedia/gmencoder/pkg-plist
+++ b/multimedia/gmencoder/pkg-plist
@@ -2,5 +2,7 @@ bin/gmencoder
share/gnome/pixmaps/gmencoder/media-pause.png
share/gnome/pixmaps/gmencoder/media-play.png
%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/es/LC_MESSAGES/gmencoder.mo
+share/locale/en/LC_MESSAGES/gmencoder.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/gnome/pixmaps/gmencoder
OpenPOWER on IntegriCloud