aboutsummaryrefslogtreecommitdiff
path: root/games/xosmulti
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-14 21:23:14 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-14 21:23:14 +0000
commit8c577515604913afcb3d5c65912753375d514b51 (patch)
treebf9d094066ad61a259fb2de653834dc95dce0c7d /games/xosmulti
parent964958999802f2de250535be466adf31151e0481 (diff)
Notes
Diffstat (limited to 'games/xosmulti')
-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