1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

1: Stageify.

2: fix pkg-plist when disable NLS.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-05-22 16:17:24 +00:00
parent 2ad9253029
commit 835bb5d660
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354867
2 changed files with 7 additions and 10 deletions

View File

@ -19,10 +19,6 @@ RUN_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info \
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=${PREFIX}"
NO_STAGE= yes
MAN1= mp3c.1
MANCOMPRESSED= no
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
@ -40,6 +36,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|/dev/cdrom|/dev/acd0|g' ${WRKSRC}/src/conf.c
post-install:
${INSTALL_SCRIPT} ${DISTDIR}/cdrip.sh ${LOCALBASE}/bin
${INSTALL_SCRIPT} ${DISTDIR}/cdrip.sh ${STAGEDIR}${LOCALBASE}/bin
.include <bsd.port.mk>

View File

@ -1,7 +1,8 @@
bin/mp3c
bin/cdrip.sh
share/locale/de/LC_MESSAGES/mp3c.mo
share/locale/es/LC_MESSAGES/mp3c.mo
share/locale/it/LC_MESSAGES/mp3c.mo
share/locale/pl/LC_MESSAGES/mp3c.mo
share/locale/pt/LC_MESSAGES/mp3c.mo
man/man1/mp3c.1.gz
%%NLS%%share/locale/de/LC_MESSAGES/mp3c.mo
%%NLS%%share/locale/es/LC_MESSAGES/mp3c.mo
%%NLS%%share/locale/it/LC_MESSAGES/mp3c.mo
%%NLS%%share/locale/pl/LC_MESSAGES/mp3c.mo
%%NLS%%share/locale/pt/LC_MESSAGES/mp3c.mo