aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-08 04:51:31 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-08 04:51:31 +0800
commite848e6c609fdadae081935cc77bd9b4e443b97ab (patch)
tree28a75bb36c5abb82faebaa3ae6d445dea020bc01
parentc39d999f960e56d8ea4c98ac47502ba6bb6e3775 (diff)
downloadfreebsd-ports-gnome-e848e6c609fdadae081935cc77bd9b4e443b97ab.tar.gz
freebsd-ports-gnome-e848e6c609fdadae081935cc77bd9b4e443b97ab.tar.zst
freebsd-ports-gnome-e848e6c609fdadae081935cc77bd9b4e443b97ab.zip
Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
-rw-r--r--games/xlogical/Makefile4
-rw-r--r--games/xlogical/pkg-plist2
2 files changed, 4 insertions, 2 deletions
diff --git a/games/xlogical/Makefile b/games/xlogical/Makefile
index c4f9cc4a1373..e2ea242bfb8a 100644
--- a/games/xlogical/Makefile
+++ b/games/xlogical/Makefile
@@ -23,10 +23,12 @@ GNU_CONFIGURE= yes
post-extract:
${CHMOD} 755 ${WRKSRC}/missing
+ ${RM} ${WRKSRC}/LICENSE
post-install:
+.ifndef NOPORTDOCS
${MKDIR} ${DOCSDIR}
- ${RM} ${WRKSRC}/LICENSE
${CP} ${WRKSRC}/[A-Z][A-Z]* ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/games/xlogical/pkg-plist b/games/xlogical/pkg-plist
index b8f4256f1473..a45cd3012ab9 100644
--- a/games/xlogical/pkg-plist
+++ b/games/xlogical/pkg-plist
@@ -161,7 +161,7 @@ bin/xlogical
var/xlogical/xlogical.scores
@dirrm var/xlogical
@dirrmtry var
-@dirrm %%PORTDOCS%%%%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/music
@dirrm %%DATADIR%%/sound