summaryrefslogtreecommitdiff
path: root/misc/gperiodic
diff options
context:
space:
mode:
authorjlam <jlam>2003-07-16 09:33:46 +0000
committerjlam <jlam>2003-07-16 09:33:46 +0000
commite664449b954368894a4fd85edc962c90bc7b4903 (patch)
tree491111004206c0c3cb92ae9f1dd439e854e373be /misc/gperiodic
parentf6cad14a16265838094c96c2784856bdf35df1a9 (diff)
downloadpkgsrc-e664449b954368894a4fd85edc962c90bc7b4903.tar.gz
Initial work in merging bits of the pkgviews branch into modern pkgsrc.
Currently, the pkgviews/buildlink2 integration is incomplete. People who work on this branch should also check out src/usr.sbin/pkg_install from the pkgviews branch.
Diffstat (limited to 'misc/gperiodic')
-rw-r--r--misc/gperiodic/DESCR3
-rw-r--r--misc/gperiodic/Makefile23
-rw-r--r--misc/gperiodic/PLIST8
-rw-r--r--misc/gperiodic/distinfo7
-rw-r--r--misc/gperiodic/patches/patch-aa37
-rw-r--r--misc/gperiodic/patches/patch-ab40
-rw-r--r--misc/gperiodic/patches/patch-ac13
7 files changed, 0 insertions, 131 deletions
diff --git a/misc/gperiodic/DESCR b/misc/gperiodic/DESCR
deleted file mode 100644
index 1b658ccd0e5..00000000000
--- a/misc/gperiodic/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Gperiodic displays a periodic table of the elements, allowing you to
-browse through the elements, and view detailed information about each
-element.
diff --git a/misc/gperiodic/Makefile b/misc/gperiodic/Makefile
deleted file mode 100644
index 7b30bbc941b..00000000000
--- a/misc/gperiodic/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2003/07/13 13:52:38 wiz Exp $
-
-DISTNAME= gperiodic-2.0.4
-PKGREVISION= 1
-CATEGORIES= misc x11
-MASTER_SITES= http://www.acclab.helsinki.fi/~frantz/software/
-
-MAINTAINER= jlam@netbsd.org
-HOMEPAGE= http://www.acclab.helsinki.fi/~frantz/software/gperiodic.php
-COMMENT= Displays a periodic table of the elements
-
-BUILD_USES_MSGFMT= # defined
-
-USE_BUILDLINK2= # defined
-USE_PKGLOCALEDIR= # defined
-USE_X11= # defined
-USE_GMAKE= # defined
-
-MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
-
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../x11/gtk2/buildlink2.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gperiodic/PLIST b/misc/gperiodic/PLIST
deleted file mode 100644
index 06eca7ae546..00000000000
--- a/misc/gperiodic/PLIST
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2003/05/10 01:31:25 jtb Exp $
-bin/gperiodic
-share/gnome/apps/Applications/gperiodic.desktop
-${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gperiodic.mo
-share/pixmaps/gperiodic.png
-@unexec ${RMDIR} %D/share/gnome/apps/Applications 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/share/gnome/apps 2>/dev/null || ${TRUE}
-@unexec ${RMDIR} %D/share/gnome 2>/dev/null || ${TRUE}
diff --git a/misc/gperiodic/distinfo b/misc/gperiodic/distinfo
deleted file mode 100644
index 9eed0b90bfd..00000000000
--- a/misc/gperiodic/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.4 2003/06/23 21:04:37 jtb Exp $
-
-SHA1 (gperiodic-2.0.4.tar.gz) = 0bb22ec25dbddf75c296a59345182d234e465ac1
-Size (gperiodic-2.0.4.tar.gz) = 39868 bytes
-SHA1 (patch-aa) = 992911a0502c39a30db81179d764590c62bd57d0
-SHA1 (patch-ab) = 24058fac21d3418a11752cb8ca2cd9777c7350d1
-SHA1 (patch-ac) = edf9394fdba646b6f149d738634559d556f163a8
diff --git a/misc/gperiodic/patches/patch-aa b/misc/gperiodic/patches/patch-aa
deleted file mode 100644
index 39ef29978c8..00000000000
--- a/misc/gperiodic/patches/patch-aa
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2003/05/10 01:31:26 jtb Exp $
-
---- Makefile.orig
-+++ Makefile
-@@ -1,13 +1,11 @@
--CC=gcc
--CFLAGS=`pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-+CC?=gcc
-+CFLAGS+=`pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
- LIBS=`pkg-config --libs gtk+-2.0`
-
--.c.o:
-- $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
-+all: gperiodic
-
- gperiodic: gperiodic.o
- $(CC) $(CFLAGS) -o gperiodic gperiodic.o $(LIBS)
-- strip gperiodic
-
- gpdata.o: gpdata.c gperiodic.h
-
-@@ -17,10 +15,11 @@
- rm *.o gperiodic
-
- install:
-- make -C po/ install enable_nls=1
-- cp gperiodic /usr/local/bin
-- cp gperiodic.desktop /usr/share/applications
-- cp gperiodic.png /usr/share/pixmaps
-+ cd po && $(MAKE) install enable_nls=1
-+ $(BSD_INSTALL_PROGRAM) gperiodic $(PREFIX)/bin
-+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/gnome/apps/Applications
-+ $(BSD_INSTALL_DATA) gperiodic.desktop $(PREFIX)/share/gnome/apps/Applications
-+ $(BSD_INSTALL_DATA) gperiodic.png $(PREFIX)/share/pixmaps
-
- uninstall:
- rm /usr/local/bin/gperiodic
diff --git a/misc/gperiodic/patches/patch-ab b/misc/gperiodic/patches/patch-ab
deleted file mode 100644
index 561bf768d01..00000000000
--- a/misc/gperiodic/patches/patch-ab
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2003/05/10 01:31:26 jtb Exp $
-
---- po/Makefile.orig
-+++ po/Makefile
-@@ -3,23 +3,23 @@
- PACKAGE ?= gperiodic
- CWD = po
- MSGFMT = msgfmt
--SUB_DIRS =
-+SUB_DIRS =
- FILES_PO:=$(wildcard *.po)
- FILES_MO:=$(FILES_PO:.po=.mo)
-
--LOCALEDIR ?= /usr/share/locale
--MSGFMT_OPT ?= -f -v -o
-+LOCALEDIR ?= $(PREFIX)/$(PKGLOCALEDIR)/locale
-+MSGFMT_OPT ?= -f -o
-
- ifeq ($(enable_nls),1)
- all: mo-files
-
- mo-files: $(FILES_MO)
-
--install:
-+install:
- $(MAKE) all
-- for f in $(FILES_MO) ; do mkdir -p \
-- $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \
-- cp $$f $(INSTALL_PREFIX)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; done
-+ for f in $(FILES_MO) ; do $(BSD_INSTALL_DATA_DIR) \
-+ $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \
-+ $(BSD_INSTALL_DATA) $$f $(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; done
-
- %.mo: %.po
- $(MSGFMT) $(MSGFMT_OPT) $@ $<
-@@ -34,4 +34,3 @@
-
- clean:
- $(RM) $(FILES_MO)
--
diff --git a/misc/gperiodic/patches/patch-ac b/misc/gperiodic/patches/patch-ac
deleted file mode 100644
index 69426aca265..00000000000
--- a/misc/gperiodic/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2003/06/23 21:04:38 jtb Exp $
-
---- gperiodic.c.orig
-+++ gperiodic.c
-@@ -413,7 +413,7 @@
-
-
- int main(int argc, char** argv) {
-- char ch;
-+ int ch;
-
- textdomain (PACKAGE);
- bindtextdomain(PACKAGE, GPERIODIC_LOCALE_DIR);