aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-15 05:23:14 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-15 05:23:14 +0800
commit23c05b64b35695a47b8704c0ee141324e33cba4f (patch)
treebf9d094066ad61a259fb2de653834dc95dce0c7d
parent9339b068f2b218c9008b639cec4ce8c5fa83bbb4 (diff)
downloadfreebsd-ports-gnome-23c05b64b35695a47b8704c0ee141324e33cba4f.tar.gz
freebsd-ports-gnome-23c05b64b35695a47b8704c0ee141324e33cba4f.tar.zst
freebsd-ports-gnome-23c05b64b35695a47b8704c0ee141324e33cba4f.zip
- Remove the indefinite article from COMMENT
- Add stage support - Add DOCS option - Use PLIST_FILES and PORTDOCS instead of pkg-plist
-rw-r--r--games/xosmulti/Makefile18
-rw-r--r--games/xosmulti/pkg-plist3
2 files changed, 11 insertions, 10 deletions
diff --git a/games/xosmulti/Makefile b/games/xosmulti/Makefile
index 2fb3e034291f..428edd55685b 100644
--- a/games/xosmulti/Makefile
+++ b/games/xosmulti/Makefile
@@ -11,17 +11,21 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_tar
EXTRACT_SUFX= .gz
MAINTAINER= ports@FreeBSD.org
-COMMENT= A little girl cartoon on the top of the active window
+COMMENT= Little girl cartoon on the top of the active window
WRKSRC= ${WRKDIR}/xosmulti
USE_XORG= xbitmaps x11 xt xi
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
+DOCSDIR= share/doc/ja/xosmulti
+PORTDOCS= README.jp
+
+PLIST_FILES= bin/xosmulti
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xosmulti ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ja/xosmulti
- ${INSTALL_MAN} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ja/xosmulti
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/xosmulti ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/xosmulti
+ ${INSTALL_MAN} ${WRKSRC}/README.jp ${STAGEDIR}${PREFIX}/share/doc/ja/xosmulti
.include <bsd.port.mk>
diff --git a/games/xosmulti/pkg-plist b/games/xosmulti/pkg-plist
deleted file mode 100644
index d6124a082a03..000000000000
--- a/games/xosmulti/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/xosmulti
-%%PORTDOCS%%share/doc/ja/xosmulti/README.jp
-%%PORTDOCS%%@dirrm share/doc/ja/xosmulti