Bug 43479 - New port: deskutils/glabels2
Summary: New port: deskutils/glabels2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-29 20:10 UTC by Martin Klaffenboeck
Modified: 2002-10-22 01:38 UTC (History)
1 user (show)

See Also:


Attachments
glabels2.sh (4.39 KB, text/plain)
2002-09-29 20:10 UTC, Martin Klaffenboeck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klaffenboeck 2002-09-29 20:10:01 UTC
New Port:  deskutils/glabels2
A programm to create labels and business cards

Please check for the dependenzies, I'm not sure:
This will be required:

GTK+.2.0.x
LIBGNOMEUI-2.0.x
LIBXML-2.4.x
LIBGNOMEPRINT-0.115
LIBGNOMECANVAS-2.0.x
GDK-PIXBUF-2.0.x

Tell me which options I have to set up in the Makefile and I'll commit again.

Thanks.
Comment 1 Martin Klaffenboeck 2002-09-29 21:07:54 UTC
So now I got all the information.
I think now the port is ok.

Please dont use my first commited file, use this here:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	glabels2
#	glabels2/files
#	glabels2/files/patch-aa
#	glabels2/Makefile
#	glabels2/distinfo
#	glabels2/pkg-plist
#	glabels2/pkg-comment
#	glabels2/pkg-descr
#
echo c - glabels2
mkdir -p glabels2 > /dev/null 2>&1
echo c - glabels2/files
mkdir -p glabels2/files > /dev/null 2>&1
echo x - glabels2/files/patch-aa
sed 's/^X//' >glabels2/files/patch-aa <<
'END-of-glabels2/files/patch-aa'
X--- doc/C/Makefile.in.orig	Sun Sep 29 20:42:00 2002
X+++ doc/C/Makefile.in	Sun Sep 29 20:48:50 2002
X@@ -252,33 +252,16 @@
X 
X glabels/index.html: $(SGML_FILES)
X 	-db2html glabels.sgml
X-	-cp -rp images glabels/images
X 
X dist-hook: index.html
X 	-mkdir $(distdir)/glabels
X-	-mkdir $(distdir)/glabels/stylesheet-images
X-	-mkdir $(distdir)/glabels/images
X 	-cp glabels/*.html $(distdir)/glabels
X 	-cp glabels/*.css $(distdir)/glabels
X-	-cp glabels/stylesheet-images/*.gif
$(distdir)/glabels/stylesheet-images
X-	-cp glabels/images/*.jpg $(distdir)/glabels/images
X-	-mkdir $(distdir)/images
X-	-cp images/*.jpg $(distdir)/images
X 
X install-data-local: index.html
X-	-$(mkinstalldirs) $(DESTDIR)$(glabels_helpdir)/images
X-	-$(mkinstalldirs) $(DESTDIR)$(glabels_helpdir)/stylesheet-images
X 	-for file in $(srcdir)/glabels/*.html $(srcdir)/glabels/*.css; do \
X 	  basefile=`echo $$file | sed -e 's,^.*/,,'`; \
X 	  $(INSTALL_DATA) $$file $(DESTDIR)$(glabels_helpdir)/$$basefile; \
X-	done
X-	-for file in $(srcdir)/glabels/images/*.jpg; do \
X-	  basefile=`echo $$file | sed -e 's,^.*/,,'`; \
X-	  $(INSTALL_DATA) $$file
$(DESTDIR)$(glabels_helpdir)/images/$$basefile; \
X-	done
X-	-for file in $(srcdir)/glabels/stylesheet-images/*.gif; do \
X-	  basefile=`echo $$file | sed -e 's,^.*/,,'`; \
X-	  $(INSTALL_DATA) $$file
$(DESTDIR)$(glabels_helpdir)/stylesheet-images/$$basefile; \
X 	done
X 
X glabels.ps: glabels.sgml
END-of-glabels2/files/patch-aa
echo x - glabels2/Makefile
sed 's/^X//' >glabels2/Makefile << 'END-of-glabels2/Makefile'
X# New ports collection makefile for:	glabels2
X# Date created:		29 September 2002
X# Whom:			Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	glabels2
XPORTVERSION=	1.89.2
XCATEGORIES=	deskutils
XMASTER_SITES=	http://snaught.com/glabels/source/
XDISTNAME=	glabels-${PORTVERSION}
X
XMAINTAINER=	martin.klaffenboeck@gmx.at
X
XLIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
X		gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \
X		gnomeprint-2.0:${PORTSDIR}/print/libgnomeprint
X
XUSE_GNOMENG=	yes
XUSE_X_PREFIX=   yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=  CXXFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
X		LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
X
XCONFIGURE_ARGS+=	--prefix=${PREFIX}
XCONFIGURE_TARGET=      
--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
X
X.include <bsd.port.mk>
END-of-glabels2/Makefile
echo x - glabels2/distinfo
sed 's/^X//' >glabels2/distinfo << 'END-of-glabels2/distinfo'
XMD5 (glabels-1.89.2.tar.gz) = 44ffb9ced9bccc90544e4ace0f04c5e2
END-of-glabels2/distinfo
echo x - glabels2/pkg-plist
sed 's/^X//' >glabels2/pkg-plist << 'END-of-glabels2/pkg-plist'
Xbin/glabels
Xbin/glabels-batch
Xshare/glabels/ui/glabels-ui.xml
Xshare/glabels/predefined-labels.template
Xshare/gnome/help/glabels/C/index.html
Xshare/gnome/help/glabels/C/topic.dat
Xshare/gnome/help/glabels/C/ln7.html
Xshare/gnome/apps/Applications/glabels.desktop
Xshare/pixmaps/glabels/glabels-about-logo.png
Xshare/pixmaps/glabels/glabels-icon.png
Xshare/pixmaps/glabels/glabels-logo.png
X@dirrm share/glabels/ui
X@dirrm share/glabels
X@dirrm share/gnome/help/glabels/C
X@dirrm share/gnome/help/glabels
X@dirrm share/pixmaps/glabels
END-of-glabels2/pkg-plist
echo x - glabels2/pkg-comment
sed 's/^X//' >glabels2/pkg-comment << 'END-of-glabels2/pkg-comment'
XA programm to create labels and business cards
END-of-glabels2/pkg-comment
echo x - glabels2/pkg-descr
sed 's/^X//' >glabels2/pkg-descr << 'END-of-glabels2/pkg-descr'
XFrom the Website:
X
XgLabels is a lightweight program for creating labels and 
Xbusiness cards for the GNOME desktop environment. It is 
Xdesigned to work with various laser/ink-jet peel-off label 
Xand business card sheets that you'll find at most office 
Xsupply stores. 
X
XWWW: http://snaught.com/glabels/
X
X- Martin Klaffenboeck
X<martin.klaffenboeck@gmx.at>
END-of-glabels2/pkg-descr
exit
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-20 15:10:37 UTC
Responsible Changed
From-To: freebsd-ports->arved

I will look at this one.
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-20 16:34:48 UTC
Responsible Changed
From-To: arved->adamw

Adam has submitted a similar one and wears a GNOME-hat.
Comment 4 Adam Weinberger freebsd_committer freebsd_triage 2002-10-22 01:34:54 UTC
State Changed
From-To: open->closed

Committed, with some modifications: 
port is in deskutils/glabels instead of glabels2 
completed the gnomeng structure submitted 
changed the dependencies 
changed a couple pathnames in the pkg-plist 

Thanks for your submission!