- Add stage support
- Convert LIB_DEPENDS to new syntax - Add shebangfix to USES
This commit is contained in:
parent
e4e8a4e153
commit
48bd23fd97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343572
2 changed files with 8 additions and 5 deletions
|
@ -14,25 +14,26 @@ COMMENT= Configuration tool for Window Maker
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
|
||||
LIB_DEPENDS= libwraster.so:${PORTSDIR}/x11-wm/windowmaker
|
||||
RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_GNOME= gtk20
|
||||
USES= gettext pkgconfig perl5 gmake
|
||||
USES= gettext pkgconfig perl5 gmake shebangfix
|
||||
SHEBANG_FILES= scripts/getfile.pl.in scripts/upgrade.pl.in
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \
|
||||
--with-wmakeretcprefix="${LOCALBASE}/share"
|
||||
|
||||
MAN1= mkpreview.1 wmakerconf.1
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -name "*.gmo" -delete
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|$$(prefix)/share/locale|${STAGEDIR}${PREFIX}/share/locale|g' \
|
||||
${WRKSRC}/data/po/Makefile.am ${WRKSRC}/data/po/Makefile.in \
|
||||
${WRKSRC}/po/Makefile.in.in
|
||||
@${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -E '/\/usr\/share/d; \
|
||||
s|/usr/local|${LOCALBASE}|g ; \
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
bin/mkpreview
|
||||
bin/wmakerconf
|
||||
man/man1/mkpreview.1.gz
|
||||
man/man1/wmakerconf.1.gz
|
||||
share/applications/wmakerconf.desktop
|
||||
share/locale/ca/LC_MESSAGES/wmakerconf.mo
|
||||
share/locale/da/LC_MESSAGES/wmakerconf-data.mo
|
||||
|
|
Loading…
Reference in a new issue