- this needs scrollkeeper to build

- add gconf/schema and scrollkeeper handling
- while here, do some cleaning: remove quotes around COMMENT and add
license information

thanks to Charles Longeau" <chl at tuxfamily dot org> for noticing it
didn't build without scrollkeeper
MAINTAINER timeout
This commit is contained in:
ajacoutot 2007-07-29 14:40:58 +00:00
parent 8491753a36
commit 038065f17c
3 changed files with 32 additions and 5 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2007/07/11 14:25:54 aanriot Exp $
# $OpenBSD: Makefile,v 1.3 2007/07/29 14:40:58 ajacoutot Exp $
COMMENT= "Gnome multimode HF terminal"
COMMENT= Gnome multimode HF terminal
DISTNAME= gmfsk-0.6
PKGNAME= ${DISTNAME}p0
CATEGORIES= comms hamradio
HOMEPAGE= http://gmfsk.connect.fi/
@ -11,6 +12,7 @@ MASTER_SITES= http://gmfsk.connect.fi/ \
MAINTAINER= Jason Wright <jason@openbsd.org>
# GPL - FDL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -23,16 +25,23 @@ WANTLIB += ICE SM X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama \
png ORBit-2 art_lgpl_2 bonobo-2 bonobo-activation bonoboui-2 \
gconf-2 gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 popt xml2
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= fftw.>=2::math/fftw \
gtk-x11-2.0,gdk_pixbuf-2.0,gdk-x11-2.0::x11/gtk+2 \
hamlib.>=2::comms/hamlib \
gnomeui-2::x11/gnome/libgnomeui
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-hamlib --disable-schemas-install
CONFIGURE_ARGS= --enable-hamlib \
--disable-schemas-install \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gmfsk
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_X11= Yes
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1 2007/07/29 14:40:58 ajacoutot Exp $
--- Makefile.in.orig Mon Jul 23 20:47:40 2007
+++ Makefile.in Mon Jul 23 20:47:54 2007
@@ -598,8 +598,6 @@ install-data-local:
fi \
done \
fi
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
- $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gmfsk.schemas
dist-hook:
if test -d pixmaps; then \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/28 18:47:06 jason Exp $
@comment $OpenBSD: PLIST,v 1.2 2007/07/29 14:40:58 ajacoutot Exp $
bin/gmfsk
share/gnome/
share/gnome/help/
@ -12,7 +12,6 @@ share/gnome/help/gmfsk/C/figures/tip.png
share/gnome/help/gmfsk/C/figures/warning.png
share/gnome/help/gmfsk/C/gmfsk.xml
share/gnome/help/gmfsk/C/legal.xml
share/omf/
share/omf/gmfsk/
share/omf/gmfsk/gmfsk-C.omf
share/pixmaps/
@ -23,3 +22,10 @@ share/pixmaps/gmfsk/pause.xpm
share/pixmaps/gmfsk/rx.xpm
share/pixmaps/gmfsk/tune.xpm
share/pixmaps/gmfsk/tx.xpm
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/gmfsk/*.schemas > /dev/null
share/schemas/
share/schemas/gmfsk/
share/schemas/gmfsk/gmfsk.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/gmfsk/*.schemas > /dev/null
@exec %D/bin/scrollkeeper-update -q
@unexec %D/bin/scrollkeeper-update -q