diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-17 18:35:00 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-05-17 18:35:00 +0000 |
commit | 682960d22f327f6a87cc0d653ccf7927b09bd5b3 (patch) | |
tree | fdc4f6923c35f15edec2a3fc79aefe936b40f12a /japanese/xv | |
parent | f3603472a5509f50bf6afe7857721acb2b90bc8e (diff) | |
download | ports-682960d22f327f6a87cc0d653ccf7927b09bd5b3.tar.gz ports-682960d22f327f6a87cc0d653ccf7927b09bd5b3.zip |
- 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
Notes
Notes:
svn path=/head/; revision=354353
Diffstat (limited to 'japanese/xv')
-rw-r--r-- | japanese/xv/Makefile | 15 | ||||
-rw-r--r-- | japanese/xv/pkg-plist | 4 |
2 files changed, 5 insertions, 14 deletions
diff --git a/japanese/xv/Makefile b/japanese/xv/Makefile index 485fff22a6c1..2d28c7eefdd7 100644 --- a/japanese/xv/Makefile +++ b/japanese/xv/Makefile @@ -4,7 +4,7 @@ CATEGORIES= japanese MAINTAINER= ports@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" diff --git a/japanese/xv/pkg-plist b/japanese/xv/pkg-plist deleted file mode 100644 index faf0da30d3fb..000000000000 --- a/japanese/xv/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/ja-xv -@exec [ ! -f %D/bin/xv.orig ] && mv -f %D/bin/xv %D/bin/xv.orig || rm %D/bin/xv -@exec ln -sf %D/%F %D/bin/xv -@unexec [ -f %D/bin/xv.orig ] && mv -f %D/bin/xv.orig %D/bin/xv |