Fixed man location and added html doc. Added truetype, xinerama and perl IUSE flag.
authorMamoru Komachi <usata@gentoo.org>
Mon, 13 Oct 2003 11:07:41 +0000 (11:07 +0000)
committerMamoru Komachi <usata@gentoo.org>
Mon, 13 Oct 2003 11:07:41 +0000 (11:07 +0000)
x11-wm/pekwm/ChangeLog
x11-wm/pekwm/Manifest
x11-wm/pekwm/files/pekwm-manpath-gentoo.diff [new file with mode: 0644]
x11-wm/pekwm/pekwm-0.1.3-r2.ebuild

index 44181e99938e500857ca1bbd2f5ae726352dae7e..b8ec78bc34e7264fdf76e6f5f3b9b3d55e95d0ed 100644 (file)
@@ -1,9 +1,14 @@
 # ChangeLog for x11-wm/pekwm
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/ChangeLog,v 1.6 2003/07/30 13:58:56 bcowan Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/ChangeLog,v 1.7 2003/10/13 11:07:36 usata Exp $
 
 *pekwm-0.1.3-r2 (30 Jul 2003)
 
+  13 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> pekwm-0.1.3-r2.ebuild,
+  files/pekwm-manpath-gentoo.diff:
+  Fixed man location and html docoment. Added truetype, xinerama and
+  perl IUSE flag.
+
   30 Jul 2003; Brad Cowan <bcowan@gentoo.org> pekwm-0.1.3-r2.ebuild:
   Moved config files to /etc per upstream request.
 
index 791caef909dc3ae381297924e0573cea908adcc7..adbb0424d8811722bfa99110e7817f8f4bfe86ea 100644 (file)
@@ -1,9 +1,10 @@
-MD5 fff8e8e35fa229e5db742aa313391002 ChangeLog 795
+MD5 899c1a2eb912ac55cb92c254ba1e0be5 ChangeLog 989
 MD5 b8a849fe79ff5ee753d572eae21b7443 pekwm-0.1.2.ebuild 1103
 MD5 d837c1aa268b5ddb84341d35968aa2e3 pekwm-0.1.3.ebuild 1103
 MD5 57566c0c7006f8366a9c35a48ab4627f pekwm-0.1.3-r1.ebuild 1286
-MD5 67a5faf738ce2b17032ff7007e7c758e pekwm-0.1.3-r2.ebuild 1003
+MD5 9dfa16c5beec8c4098cc49e8d639de4b pekwm-0.1.3-r2.ebuild 1003
 MD5 feb34a062104c0c28685fa05192dc7be files/digest-pekwm-0.1.3 64
 MD5 a4e21e1ea4ec63d1019e74d18fe7c37d files/digest-pekwm-0.1.2 63
 MD5 feb34a062104c0c28685fa05192dc7be files/digest-pekwm-0.1.3-r1 64
 MD5 feb34a062104c0c28685fa05192dc7be files/digest-pekwm-0.1.3-r2 64
+MD5 4eb560893fc98dbaba9b461b71a9df98 files/pekwm-manpath-gentoo.diff 455
diff --git a/x11-wm/pekwm/files/pekwm-manpath-gentoo.diff b/x11-wm/pekwm/files/pekwm-manpath-gentoo.diff
new file mode 100644 (file)
index 0000000..464a1ad
--- /dev/null
@@ -0,0 +1,13 @@
+--- docs/Makefile.in.orig      2003-06-06 04:12:14.000000000 +0900
++++ docs/Makefile.in   2003-10-13 19:46:15.000000000 +0900
+@@ -12,8 +12,8 @@
+       sed 's:<PREFIX>:$(DATADIR):' pekwm.1.in > pekwm.1
+ install: all
+-      mkdir -p $(DESTDIR)$(prefix)/man/man1
+-      $(INSTALL) -m $(DATA_MODE) pekwm.1 $(DESTDIR)$(prefix)/man/man1
++      mkdir -p $(DESTDIR)$(prefix)/share/man/man1
++      $(INSTALL) -m $(DATA_MODE) pekwm.1 $(DESTDIR)$(prefix)/share/man/man1
+ clean:
+       rm -f pekwm.1
index 0aedbfe7f04b886ad552374edeff68a51f22f751..1fa6ba4d80ef93a4ae22931f7a9a8e15113581ef 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/pekwm-0.1.3-r2.ebuild,v 1.2 2003/09/04 07:41:11 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/pekwm-0.1.3-r2.ebuild,v 1.3 2003/10/13 11:07:36 usata Exp $
 
-IUSE=""
+IUSE="truetype perl xinerama"
 
 S="${WORKDIR}/${P}"
 
@@ -15,30 +15,30 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86"
 
-DEPEND="dev-util/pkgconfig
-       virtual/x11
-       perl? dev-libs/libpcre"
+DEPEND="virtual/x11
+       truetype? ( virtual/xft )
+       perl? ( dev-libs/libpcre )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-manpath-gentoo.diff
+}
 
 src_compile() {
-       if pkg-config xft
-           then
-               myconf="${myconf} --disable-xft"
-           else
-               myconf="${myconf} --enable-xft"
-       fi
-       use perl \
-               && myconf="${myconf} --enable-pcre" \
-               || myconf="${myconf} --disable-pcre"
        econf \
-           --enable-xinerama \
-           --enable-harbour \
-           ${myconf} || die
+               `use_enable truetype xft` \
+               `use_enable xinerama` \
+               `use_enable perl pcre` \
+               --enable-harbour \
+               ${myconf} || die
        emake || die
 }
 
 src_install() {
-       make DESTDIR=${D} install
+       make DESTDIR=${D} install || die
 
        cd ${S}
        dodoc docs/pekwmdocs.txt AUTHORS ChangeLog* INSTALL LICENSE README* NEWS ROADMAP TODO
+       dohtml docs/pekwmdocs.html
 }