1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2013-12-30 17:38:29 +00:00
parent 01dccf4141
commit d68f53239a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338153
2 changed files with 1 additions and 10 deletions

View File

@ -15,7 +15,6 @@ LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
USE_GNOME= gtk20
NO_STAGE= yes
USES= gettext pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk2
@ -23,7 +22,6 @@ CONFIGURE_ARGS= --with-gtk2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= xhippo.1
INFO= xhippo
post-extract:
@ -34,12 +32,4 @@ post-patch:
'/^sysconf_DATA/s|=.*|= xhippo.config.default|' \
${WRKSRC}/Makefile.in
post-install:
.if !exists(${PREFIX}/etc/xhippo.config)
(cd ${PREFIX}/etc && ${CP} xhippo.config.default xhippo.config)
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>

View File

@ -2,4 +2,5 @@ bin/xhippo
@unexec if cmp -s %D/etc/xhippo.config %D/etc/xhippo.config.default; then rm -f %D/etc/xhippo.config; fi
etc/xhippo.config.default
@exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config
man/man1/xhippo.1.gz
share/locale/de/LC_MESSAGES/xhippo.mo