aboutsummaryrefslogtreecommitdiff
path: root/x11/bgrot
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-01-09 14:48:54 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-01-09 14:48:54 +0000
commit835726cb71664ae2670520d3a50f248e16e9734e (patch)
treec5a1df43cdad387744b4ceb00662fb30bee791f4 /x11/bgrot
parent591efe9fe3d7b0ae82115372fa3ce2842d227352 (diff)
downloadports-835726cb71664ae2670520d3a50f248e16e9734e.tar.gz
ports-835726cb71664ae2670520d3a50f248e16e9734e.zip
Notes
Diffstat (limited to 'x11/bgrot')
-rw-r--r--x11/bgrot/Makefile7
-rw-r--r--x11/bgrot/files/patch-Makefile25
-rw-r--r--x11/bgrot/pkg-plist2
3 files changed, 19 insertions, 15 deletions
diff --git a/x11/bgrot/Makefile b/x11/bgrot/Makefile
index e8e44a0ba9c5..a4f694cdf58f 100644
--- a/x11/bgrot/Makefile
+++ b/x11/bgrot/Makefile
@@ -16,11 +16,4 @@ RUN_DEPENDS= xv:${PORTSDIR}/graphics/xv
USES= shebangfix perl5
SHEBANG_FILES= *.pl
-MAN1= bgrot.1
-MANCOMPRESSED= yes
-
-NO_STAGE= yes
-post-install:
- @${CAT} pkg-message
-
.include <bsd.port.mk>
diff --git a/x11/bgrot/files/patch-Makefile b/x11/bgrot/files/patch-Makefile
index 50e1a8bf6423..3f30601653eb 100644
--- a/x11/bgrot/files/patch-Makefile
+++ b/x11/bgrot/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Jun 21 05:50:30 2000
-+++ Makefile Fri Nov 25 17:13:07 2005
+--- Makefile.orig 2000-06-21 18:50:30.000000000 +0800
++++ Makefile 2014-01-09 21:37:58.000000000 +0800
@@ -4,12 +4,13 @@
# Written by Matthew Fuller <fullermd@over-yonder.net>
@@ -16,7 +16,7 @@
# DIRMODE: Permission bits for directories
# FILEMODE: Permission bits for files
-@@ -22,7 +23,7 @@
+@@ -22,7 +23,7 @@ BINOWN = bin
BINGRP = bin
# MANDIR: Where is your manpage base?
@@ -25,16 +25,27 @@
# OK, that's about it for user stuff
# Touch the rest of this file at your own risk
-@@ -52,7 +53,7 @@
+@@ -48,15 +49,15 @@ help: info
+ install:
+ @echo Installing...
+ .if !exists(${BINDIR})
+- -mkdir -m ${DIRMODE} ${BINDIR}
++ -mkdir -m ${DIRMODE} $(DESTDIR)${BINDIR}
.endif
@echo Installing files...
- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c ${INSTALLFILES} ${BINDIR}
+- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c ${INSTALLFILES} ${BINDIR}
- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf ${CONFDIR}
-+ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf.skel ${CONFDIR}
++ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c ${INSTALLFILES} $(DESTDIR)${BINDIR}
++ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf.skel $(DESTDIR)${CONFDIR}
@echo Compressing manpage...
@gzip -c bgrot.1 > bgrot.1.gz
@echo Installing manpage...
-@@ -88,7 +89,7 @@
+- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.1.gz ${MANDIR}/man1
++ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.1.gz $(DESTDIR)${MANDIR}/man1
+ @echo Installation completed
+ @echo Read the file README for usage information
+
+@@ -88,7 +89,7 @@ uninstall:
rm -f ${BINDIR}/$${entry}; \
done
@echo Uninstalling configuration...
diff --git a/x11/bgrot/pkg-plist b/x11/bgrot/pkg-plist
index 66e4deba7b25..e15694522fc0 100644
--- a/x11/bgrot/pkg-plist
+++ b/x11/bgrot/pkg-plist
@@ -1,7 +1,7 @@
bin/background.sh
bin/bgrandom.pl
+bin/bgrotman.pl
bin/createlist.sh
bin/masterlistgen.sh
-bin/bgrotman.pl
etc/bgrot.conf.skel
man/man1/bgrot.1.gz