svn commit: r354353 - head/japanese/xv

Pawel Pekala pawel at FreeBSD.org
Sat May 17 18:35:00 UTC 2014


Author: pawel
Date: Sat May 17 18:35:00 2014
New Revision: 354353
URL: http://svnweb.freebsd.org/changeset/ports/354353
QAT: https://qat.redports.org/buildarchive/r354353/

Log:
  - Add staging support
  - Switch to PLIST_FILES, don't touch other package's files
  - Don't support DOCS, that would create conflict with master
  - Remove leading article from COMMENT

Deleted:
  head/japanese/xv/pkg-plist
Modified:
  head/japanese/xv/Makefile

Modified: head/japanese/xv/Makefile
==============================================================================
--- head/japanese/xv/Makefile	Sat May 17 18:21:40 2014	(r354352)
+++ head/japanese/xv/Makefile	Sat May 17 18:35:00 2014	(r354353)
@@ -4,7 +4,7 @@
 CATEGORIES=	japanese
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	An X11 program that displays images of various formats with japanization
+COMMENT=	X11 program that displays images of various formats with japanization
 
 MASTERDIR=	${.CURDIR}/../../graphics/xv
 PKGDIR=		${.CURDIR}
@@ -13,16 +13,11 @@ MAKE_ENV=	LOCALE_EXTENSION=-DTV_L10N
 
 RUN_DEPENDS=	xv:${PORTSDIR}/graphics/xv
 
-NOMAN=		yes
+PLIST_FILES=	bin/ja-xv
+
+OPTIONS_EXCLUDE=	DOCS
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/xv ${PREFIX}/bin/ja-xv
-	@if [ ! -f ${PREFIX}/bin/xv.orig ]; then \
-	    ${MV} ${PREFIX}/bin/xv ${PREFIX}/bin/xv.orig ;\
-	else \
-	    ${RM} ${PREFIX}/bin/xv ;\
-	fi
-	@${LN} -sf ${PREFIX}/bin/ja-xv ${PREFIX}/bin/xv
+	${INSTALL_PROGRAM} ${WRKSRC}/xv ${STAGEDIR}${PREFIX}/bin/ja-xv
 
 .include "${MASTERDIR}/Makefile"


More information about the svn-ports-all mailing list