svn commit: r354867 - head/audio/mp3c

Vanilla I. Shu vanilla at FreeBSD.org
Thu May 22 16:17:25 UTC 2014


Author: vanilla
Date: Thu May 22 16:17:24 2014
New Revision: 354867
URL: http://svnweb.freebsd.org/changeset/ports/354867
QAT: https://qat.redports.org/buildarchive/r354867/

Log:
  1: Stageify.
  2: fix pkg-plist when disable NLS.
  
  Approved by:	portmgr@

Modified:
  head/audio/mp3c/Makefile
  head/audio/mp3c/pkg-plist

Modified: head/audio/mp3c/Makefile
==============================================================================
--- head/audio/mp3c/Makefile	Thu May 22 16:08:26 2014	(r354866)
+++ head/audio/mp3c/Makefile	Thu May 22 16:17:24 2014	(r354867)
@@ -19,10 +19,6 @@ RUN_DEPENDS=	mp3info:${PORTSDIR}/audio/m
 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>

Modified: head/audio/mp3c/pkg-plist
==============================================================================
--- head/audio/mp3c/pkg-plist	Thu May 22 16:08:26 2014	(r354866)
+++ head/audio/mp3c/pkg-plist	Thu May 22 16:17:24 2014	(r354867)
@@ -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


More information about the svn-ports-head mailing list