aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2002-10-22 06:52:34 +0800
committeradamw <adamw@FreeBSD.org>2002-10-22 06:52:34 +0800
commita88a5579fd55a2250e97f83d834da54d674dea32 (patch)
tree7e0eb6f6ef2c5158af40e6897d26628d1f57196c /deskutils
parent24842b82483bf71e51984bb5ea9bec8527f87a9f (diff)
downloadfreebsd-ports-gnome-a88a5579fd55a2250e97f83d834da54d674dea32.tar.gz
freebsd-ports-gnome-a88a5579fd55a2250e97f83d834da54d674dea32.tar.zst
freebsd-ports-gnome-a88a5579fd55a2250e97f83d834da54d674dea32.zip
add deskutils/glabels
A programm to create labels and business cards PR: 43479 Submitted by: martin.klaffenboeck@gmx.at Approved by: pat
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/glabels/Makefile30
-rw-r--r--deskutils/glabels/distinfo1
-rw-r--r--deskutils/glabels/files/patch-aa36
-rw-r--r--deskutils/glabels/pkg-comment1
-rw-r--r--deskutils/glabels/pkg-descr12
-rw-r--r--deskutils/glabels/pkg-plist16
7 files changed, 97 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 688365d8baaf..c16819f9f0fc 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -12,6 +12,7 @@
SUBDIR += gcal
SUBDIR += gemcal
SUBDIR += genius
+ SUBDIR += glabels
SUBDIR += gmcal
SUBDIR += gnofin
SUBDIR += gnomepim
diff --git a/deskutils/glabels/Makefile b/deskutils/glabels/Makefile
new file mode 100644
index 000000000000..3e687e5298d6
--- /dev/null
+++ b/deskutils/glabels/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: glabels
+# Date created: 29 September 2002
+# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
+#
+# $FreeBSD$
+#
+
+PORTNAME= glabels
+PORTVERSION= 1.89.2
+CATEGORIES= deskutils
+MASTER_SITES= http://snaught.com/glabels/source/
+
+MAINTAINER= martin.klaffenboeck@gmx.at
+
+LIB_DEPENDS= gnomeprint-2.0:${PORTSDIR}/print/libgnomeprint \
+ gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+USE_GNOMENG= yes
+USE_GNOME= gnomehack gnomeprefix
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CXXFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+.include <bsd.port.mk>
diff --git a/deskutils/glabels/distinfo b/deskutils/glabels/distinfo
new file mode 100644
index 000000000000..a2fe19f28031
--- /dev/null
+++ b/deskutils/glabels/distinfo
@@ -0,0 +1 @@
+MD5 (glabels-1.89.2.tar.gz) = 44ffb9ced9bccc90544e4ace0f04c5e2
diff --git a/deskutils/glabels/files/patch-aa b/deskutils/glabels/files/patch-aa
new file mode 100644
index 000000000000..8a2fb0dd036c
--- /dev/null
+++ b/deskutils/glabels/files/patch-aa
@@ -0,0 +1,36 @@
+--- doc/C/Makefile.in.orig Sun Sep 29 20:42:00 2002
++++ doc/C/Makefile.in Sun Sep 29 20:48:50 2002
+@@ -252,33 +252,16 @@
+
+ glabels/index.html: $(SGML_FILES)
+ -db2html glabels.sgml
+- -cp -rp images glabels/images
+
+ dist-hook: index.html
+ -mkdir $(distdir)/glabels
+- -mkdir $(distdir)/glabels/stylesheet-images
+- -mkdir $(distdir)/glabels/images
+ -cp glabels/*.html $(distdir)/glabels
+ -cp glabels/*.css $(distdir)/glabels
+- -cp glabels/stylesheet-images/*.gif $(distdir)/glabels/stylesheet-images
+- -cp glabels/images/*.jpg $(distdir)/glabels/images
+- -mkdir $(distdir)/images
+- -cp images/*.jpg $(distdir)/images
+
+ install-data-local: index.html
+- -$(mkinstalldirs) $(DESTDIR)$(glabels_helpdir)/images
+- -$(mkinstalldirs) $(DESTDIR)$(glabels_helpdir)/stylesheet-images
+ -for file in $(srcdir)/glabels/*.html $(srcdir)/glabels/*.css; do \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(glabels_helpdir)/$$basefile; \
+- done
+- -for file in $(srcdir)/glabels/images/*.jpg; do \
+- basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+- $(INSTALL_DATA) $$file $(DESTDIR)$(glabels_helpdir)/images/$$basefile; \
+- done
+- -for file in $(srcdir)/glabels/stylesheet-images/*.gif; do \
+- basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+- $(INSTALL_DATA) $$file $(DESTDIR)$(glabels_helpdir)/stylesheet-images/$$basefile; \
+ done
+
+ glabels.ps: glabels.sgml
diff --git a/deskutils/glabels/pkg-comment b/deskutils/glabels/pkg-comment
new file mode 100644
index 000000000000..3e07a7b36c04
--- /dev/null
+++ b/deskutils/glabels/pkg-comment
@@ -0,0 +1 @@
+A programm to create labels and business cards
diff --git a/deskutils/glabels/pkg-descr b/deskutils/glabels/pkg-descr
new file mode 100644
index 000000000000..ee00bc921c41
--- /dev/null
+++ b/deskutils/glabels/pkg-descr
@@ -0,0 +1,12 @@
+From the Website:
+
+gLabels is a lightweight program for creating labels and
+business cards for the GNOME desktop environment. It is
+designed to work with various laser/ink-jet peel-off label
+and business card sheets that you'll find at most office
+supply stores.
+
+WWW: http://snaught.com/glabels/
+
+- Martin Klaffenboeck
+<martin.klaffenboeck@gmx.at>
diff --git a/deskutils/glabels/pkg-plist b/deskutils/glabels/pkg-plist
new file mode 100644
index 000000000000..bd9552647ec4
--- /dev/null
+++ b/deskutils/glabels/pkg-plist
@@ -0,0 +1,16 @@
+bin/glabels
+bin/glabels-batch
+share/gnome/glabels/ui/glabels-ui.xml
+share/gnome/glabels/predefined-labels.template
+share/gnome/help/glabels/C/index.html
+share/gnome/help/glabels/C/topic.dat
+share/gnome/help/glabels/C/ln7.html
+share/gnome/apps/Applications/glabels.desktop
+share/gnome/pixmaps/glabels/glabels-about-logo.png
+share/gnome/pixmaps/glabels/glabels-icon.png
+share/gnome/pixmaps/glabels/glabels-logo.png
+@dirrm share/gnome/glabels/ui
+@dirrm share/gnome/glabels
+@dirrm share/gnome/help/glabels/C
+@dirrm share/gnome/help/glabels
+@dirrm share/gnome/pixmaps/glabels