aboutsummaryrefslogtreecommitdiffstats
path: root/misc/alevt
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-05-25 20:17:45 +0800
committeroliver <oliver@FreeBSD.org>2005-05-25 20:17:45 +0800
commit297f3651a5549d6be9e74af0108f9a0eca4da4ed (patch)
tree14c5c0930100d2e274567c82ff78bce3436e08fb /misc/alevt
parent2d20f27fdffe9944ed7d5a630f5c6af19bff3241 (diff)
downloadfreebsd-ports-gnome-297f3651a5549d6be9e74af0108f9a0eca4da4ed.tar.gz
freebsd-ports-gnome-297f3651a5549d6be9e74af0108f9a0eca4da4ed.tar.zst
freebsd-ports-gnome-297f3651a5549d6be9e74af0108f9a0eca4da4ed.zip
use own do-install target (to get an install-mtree)
install 3 more icons install iconse above PREFIX/share/alevt bump PORTREVISION
Diffstat (limited to 'misc/alevt')
-rw-r--r--misc/alevt/Makefile15
-rw-r--r--misc/alevt/files/patch-aa19
-rw-r--r--misc/alevt/pkg-plist6
3 files changed, 20 insertions, 20 deletions
diff --git a/misc/alevt/Makefile b/misc/alevt/Makefile
index 01a8c576410e..f3ecdac9b3b8 100644
--- a/misc/alevt/Makefile
+++ b/misc/alevt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= alevt
PORTVERSION= 1.6.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.goron.de/~froese/alevt/
@@ -31,4 +31,17 @@ MAKE_ARGS+= -DWITH_PNG
MAKE_ARGS+= -DWITH_SMALLFONT
.endif
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/alevt $(PREFIX)/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/alevt-date $(PREFIX)/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/alevt-cap $(PREFIX)/bin
+ ${INSTALL_MAN} ${WRKSRC}/alevt.1x $(PREFIX)/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/alevt-date.1 $(PREFIX)/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/alevt-cap.1 $(PREFIX)/man/man1
+ ${MKDIR} $(PREFIX)/share/alevt
+ ${INSTALL_DATA} ${WRKSRC}/contrib/mini-alevt.xpm $(PREFIX)/share/alevt
+ ${INSTALL_DATA} ${WRKSRC}/contrib/icon-old.xbm $(PREFIX)/share/alevt
+ ${INSTALL_DATA} ${WRKSRC}/contrib/icon48x48.xpm $(PREFIX)/share/alevt
+ ${INSTALL_DATA} ${WRKSRC}/contrib/icon54x60.xpm $(PREFIX)/share/alevt
+
.include <bsd.port.post.mk>
diff --git a/misc/alevt/files/patch-aa b/misc/alevt/files/patch-aa
index ca72d5d979a8..2c32a2df2a13 100644
--- a/misc/alevt/files/patch-aa
+++ b/misc/alevt/files/patch-aa
@@ -1,5 +1,5 @@
--- Makefile.orig Tue Aug 20 05:17:53 2002
-+++ Makefile Wed May 25 13:41:55 2005
++++ Makefile Wed May 25 13:55:10 2005
@@ -1,33 +1,35 @@
VER=1.6.1
-OPT=-O2 -s
@@ -48,20 +48,3 @@
font.o: font1.xbm font2.xbm
fontsize.h: font1.xbm font2.xbm
-@@ -69,13 +71,9 @@
- # anything below this line is just for me!
-
- install: all
-- install -m 0755 alevt /usr/local/bin
-- install -m 0755 alevt-date /usr/local/bin
-- install -m 0755 alevt-cap /usr/local/bin
-- install -m 0644 alevt.1x /usr/local/man/man1
-- install -m 0644 alevt-date.1 /usr/local/man/man1
-- install -m 0644 alevt-cap.1 /usr/local/man/man1
-- install -m 0644 contrib/mini-alevt.xpm /usr/include/X11/pixmaps
-+ ${BSD_INSTALL_PROGRAM} alevt alevt-date alevt-cap $(PREFIX)/bin
-+ ${BSD_INSTALL_MAN} alevt.1x alevt-date.1 alevt-cap.1 $(PREFIX)/man/man1
-+ ${BSD_INSTALL_DATA} contrib/mini-alevt.xpm $(PREFIX)/include/X11/pixmaps
- sync
-
- depend:
diff --git a/misc/alevt/pkg-plist b/misc/alevt/pkg-plist
index 2670eb247291..a175499ed7f2 100644
--- a/misc/alevt/pkg-plist
+++ b/misc/alevt/pkg-plist
@@ -1,4 +1,8 @@
bin/alevt
bin/alevt-date
bin/alevt-cap
-include/X11/pixmaps/mini-alevt.xpm
+share/alevt/icon-old.xbm
+share/alevt/icon48x48.xpm
+share/alevt/icon54x60.xpm
+share/alevt/mini-alevt.xpm
+@dirrm share/alevt