From c3964e45bca992278de281f3cb05a3e05317bf31 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Wed, 13 Nov 2013 19:09:26 +0000 Subject: [PATCH] - Add stage support - Add DOCS option - Use PLIST_FILES and PORTDOCS instead of pkg-plist file --- games/xisola/Makefile | 13 +++++++------ games/xisola/pkg-plist | 3 --- 2 files changed, 7 insertions(+), 9 deletions(-) delete mode 100644 games/xisola/pkg-plist diff --git a/games/xisola/Makefile b/games/xisola/Makefile index 0fff1426e3d7..3f065fbd54eb 100644 --- a/games/xisola/Makefile +++ b/games/xisola/Makefile @@ -16,12 +16,13 @@ USES= imake USE_XORG= x11 xext xaw xmu xt sm ice NO_INSTALL_MANPAGES= yes -NO_STAGE= yes -.include +PLIST_FILES= bin/xisola +PORTDOCS= README + +OPTIONS_DEFINE= DOCS + post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/xisola/pkg-plist b/games/xisola/pkg-plist deleted file mode 100644 index dfa9956ecdbf..000000000000 --- a/games/xisola/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/xisola -%%PORTDOCS%%share/doc/xisola/README -%%PORTDOCS%%@dirrm share/doc/xisola