aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-11-24 01:25:08 +0800
committeritetcu <itetcu@FreeBSD.org>2008-11-24 01:25:08 +0800
commit44936f43fefbc2a2c96830f8fc411c19e1a50244 (patch)
treeb8222543085e2c7318749ea32babc22c4e7bead2 /x11-clocks
parent703d467159d8bcd3a2ac9b3a92229f20d8503b9b (diff)
downloadfreebsd-ports-gnome-44936f43fefbc2a2c96830f8fc411c19e1a50244.tar.gz
freebsd-ports-gnome-44936f43fefbc2a2c96830f8fc411c19e1a50244.tar.zst
freebsd-ports-gnome-44936f43fefbc2a2c96830f8fc411c19e1a50244.zip
- use DOCSDIR
- fix plist with -DNOPORTDOCS - pet portlint - bumo PORTREVISION Approved by: maintainer timeout to QAT BotMail Prompted by: QAT QA run
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/mouseclock/Makefile8
-rw-r--r--x11-clocks/mouseclock/pkg-plist4
2 files changed, 6 insertions, 6 deletions
diff --git a/x11-clocks/mouseclock/Makefile b/x11-clocks/mouseclock/Makefile
index c5784c684c57..8979f4564d46 100644
--- a/x11-clocks/mouseclock/Makefile
+++ b/x11-clocks/mouseclock/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mouseclock
PORTVERSION= 1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-clocks
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/clocks
@@ -18,15 +18,15 @@ COMMENT= Display the current time using the X root cursor
USE_GMAKE= yes
USE_IMAKE= yes
XMKMF= xmkmf
-NO_INSTALL_MANPAGES= yes
+NO_INSTALL_MANPAGES= yes
post-configure:
@${TOUCH} ${WRKSRC}/mouseclock.man
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/mouseclock
- @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mouseclock
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/x11-clocks/mouseclock/pkg-plist b/x11-clocks/mouseclock/pkg-plist
index 236f146dc014..01b89430485a 100644
--- a/x11-clocks/mouseclock/pkg-plist
+++ b/x11-clocks/mouseclock/pkg-plist
@@ -1,3 +1,3 @@
bin/mouseclock
-share/doc/mouseclock/README
-@dirrm share/doc/mouseclock
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%