summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/wmphoto/Makefile23
-rw-r--r--graphics/wmphoto/distinfo5
-rw-r--r--graphics/wmphoto/patches/patch-aa45
-rw-r--r--graphics/wmphoto/pkg/DESCR2
-rw-r--r--graphics/wmphoto/pkg/PLIST5
5 files changed, 80 insertions, 0 deletions
diff --git a/graphics/wmphoto/Makefile b/graphics/wmphoto/Makefile
new file mode 100644
index 00000000000..f3573f7237b
--- /dev/null
+++ b/graphics/wmphoto/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 13:35:09 agc Exp $
+#
+
+DISTNAME= wmphoto-0.3a
+CATEGORIES= graphics
+MASTER_SITES= http://www.dcc.uchile.cl/~amartoq/wmphoto/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.dcc.uchile.cl/~amartoq/wmphoto/
+COMMENT= dock-app that can show you a photo
+
+USE_X11BASE= YES
+USE_XPM= YES
+USE_GMAKE= YES
+WRKSRC= ${WRKDIR}/${PKGNAME}/wmphoto
+MAKE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmphoto
+ ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/wmphoto
+ ${INSTALL_DATA} ${WRKSRC}/../HINTS ${PREFIX}/share/doc/wmphoto
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/wmphoto/distinfo b/graphics/wmphoto/distinfo
new file mode 100644
index 00000000000..c14a2a82684
--- /dev/null
+++ b/graphics/wmphoto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/27 13:35:09 agc Exp $
+
+SHA1 (wmphoto-0.3a.tar.gz) = dbec1ddd49671bc915b6e9ce37462247557f7fb9
+Size (wmphoto-0.3a.tar.gz) = 19320 bytes
+SHA1 (patch-aa) = 53c1d2817e36b8cee04572edca295d0555e1e853
diff --git a/graphics/wmphoto/patches/patch-aa b/graphics/wmphoto/patches/patch-aa
new file mode 100644
index 00000000000..1b61e7ab284
--- /dev/null
+++ b/graphics/wmphoto/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 13:35:09 agc Exp $
+--- Makefile.orig Wed Mar 28 10:09:18 2001
++++ Makefile Wed Mar 28 10:15:59 2001
+@@ -1,19 +1,8 @@
+ # wmphoto Makefile
+
+-# directory where to install it.
+-INSTALL = /usr/local/bin
+-
+-# RedHat Linux 5.2
+-CC = gcc
+-CCOPTIONS = -O2 -Wall
+-LIBDIR = -L/usr/X11R6/lib
++LIBDIR = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -Wl,-R${X11PREFIX}/lib -L${X11PREFIX}/lib
+ LIBS = -lXpm -lXext -lX11
+-
+-# Slowlaris at my university
+-#CC = gcc
+-#CCOPTIONS = -O2 -I/usr/local/X11R6/include
+-#LIBDIR = -L/usr/local/X11R6/lib
+-#LIBS = -lXpm -lXext -lX11 -lsocket -lnsl
++CFLAGS = -I${X11PREFIX}/include -I${X11BASE}/include
+
+ # now the common stuff...
+ APP = wmphoto
+@@ -25,16 +14,13 @@
+ all: $(APP)
+
+ .c.o:
+- $(CC) -c $(CCOPTIONS) $< -o $*.o
++ ${CC} -c ${CFLAGS} $< -o $*.o
+
+ $(APP): $(OBJS)
+- $(CC) -o $(APP) $^ $(LIBDIR) $(LIBS)
++ ${CC} -o $(APP) $^ $(LIBDIR) $(LIBS)
+
+ install: $(APP)
+- strip $(APP)
+- cp $(APP) $(INSTALL)
+- chown root.root $(APP)
+- chmod 755 $(APP)
++ install -s -c $(APP) ${X11PREFIX}/bin
+
+ clean::
+ for i in $(OBJS) ; do \
diff --git a/graphics/wmphoto/pkg/DESCR b/graphics/wmphoto/pkg/DESCR
new file mode 100644
index 00000000000..6ac16ea51b4
--- /dev/null
+++ b/graphics/wmphoto/pkg/DESCR
@@ -0,0 +1,2 @@
+wmphoto is a dock-app that can show you a photo and execute a command
+related to that photo. You can have many photos.
diff --git a/graphics/wmphoto/pkg/PLIST b/graphics/wmphoto/pkg/PLIST
new file mode 100644
index 00000000000..4c8a33be743
--- /dev/null
+++ b/graphics/wmphoto/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 13:35:09 agc Exp $
+bin/wmphoto
+share/doc/wmphoto/README
+share/doc/wmphoto/HINTS
+@dirrm share/doc/wmphoto