From 23c05b64b35695a47b8704c0ee141324e33cba4f Mon Sep 17 00:00:00 2001 From: danilo Date: Thu, 14 Nov 2013 21:23:14 +0000 Subject: - Remove the indefinite article from COMMENT - Add stage support - Add DOCS option - Use PLIST_FILES and PORTDOCS instead of pkg-plist --- games/xosmulti/Makefile | 18 +++++++++++------- games/xosmulti/pkg-plist | 3 --- 2 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 games/xosmulti/pkg-plist 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 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 -- cgit