diff options
Diffstat (limited to 'www/raggle')
-rw-r--r-- | www/raggle/Makefile | 4 | ||||
-rw-r--r-- | www/raggle/distinfo | 4 | ||||
-rw-r--r-- | www/raggle/patches/patch-aa | 42 |
3 files changed, 39 insertions, 11 deletions
diff --git a/www/raggle/Makefile b/www/raggle/Makefile index 9e623435ac2..7b0cd3e75f7 100644 --- a/www/raggle/Makefile +++ b/www/raggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/09/14 13:58:57 taca Exp $ +# $NetBSD: Makefile,v 1.8 2010/03/15 07:51:56 taca Exp $ DISTNAME= raggle-0.4.4 PKGREVISION= 3 @@ -16,5 +16,7 @@ NO_BUILD= yes REPLACE_RUBY= raggle extras/feed_dump.rb extras/feed_sizes.rb \ extras/rss_dir_list.rb extras/rss_grab.rb +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/raggle/distinfo b/www/raggle/distinfo index cd59f058da5..5e32b03f183 100644 --- a/www/raggle/distinfo +++ b/www/raggle/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2008/09/14 13:58:57 taca Exp $ +$NetBSD: distinfo,v 1.4 2010/03/15 07:51:56 taca Exp $ SHA1 (raggle-0.4.4.tar.gz) = ac16328b46eaec7a732f429ee667513f0b52f277 RMD160 (raggle-0.4.4.tar.gz) = 43b9353bb192185310eceecdedc00449fbeb0fe3 Size (raggle-0.4.4.tar.gz) = 279758 bytes -SHA1 (patch-aa) = 27e34556e106fd5ad2f209ca9023b031f70d7905 +SHA1 (patch-aa) = 3eb86339d1b0f7f960067873025e7c1e21b52e2b SHA1 (patch-ab) = 76065bdc75c52a40ba14bce3ad8beabf59d537a5 diff --git a/www/raggle/patches/patch-aa b/www/raggle/patches/patch-aa index afd342461cb..cfed98023de 100644 --- a/www/raggle/patches/patch-aa +++ b/www/raggle/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2006/02/22 20:52:11 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2010/03/15 07:51:56 taca Exp $ --- Makefile.orig 2005-03-16 01:25:03.000000000 +0000 +++ Makefile @@ -10,12 +10,38 @@ $NetBSD: patch-aa,v 1.2 2006/02/22 20:52:11 wiz Exp $ DOCDIR=${PREFIX}/share/doc/raggle DATADIR=${PREFIX}/share/raggle DATA=themes extras -@@ -22,7 +21,7 @@ install : - if [ ! -d "${MANDIR}" ]; then \ - ${mkdir} ${MANDIR}; \ +@@ -10,22 +9,22 @@ mkdir=/bin/mkdir -p + phony : + @echo "Run make install" + install : +- if [ ! -d "${BINDIR}" ]; then \ +- ${mkdir} -p ${BINDIR}; \ ++ if [ ! -d "${DESTDIR}${BINDIR}" ]; then \ ++ ${mkdir} -p ${DESTDIR}${BINDIR}; \ + fi && \ +- if [ ! -d "${DOCDIR}" ]; then \ +- ${mkdir} ${DOCDIR}; \ ++ if [ ! -d "${DESTDIR}${DOCDIR}" ]; then \ ++ ${mkdir} ${DESTDIR}${DOCDIR}; \ + fi && \ +- if [ ! -d "${DATADIR}" ]; then \ +- ${mkdir} ${DATADIR}; \ ++ if [ ! -d "${DESTDIR}${DATADIR}" ]; then \ ++ ${mkdir} ${DESTDIR}${DATADIR}; \ + fi && \ +- if [ ! -d "${MANDIR}" ]; then \ +- ${mkdir} ${MANDIR}; \ ++ if [ ! -d "${DESTDIR}${MANDIR}" ]; then \ ++ ${mkdir} ${DESTDIR}${MANDIR}; \ fi && \ - ruby -pe 'gsub(/^(.)DATADIR = ".*"/, "\\1DATADIR = \"${DATADIR}\"")' < ./raggle > ${BINDIR}/raggle && chmod 755 ${BINDIR}/raggle && \ -+ ${RUBY} -pe 'gsub(/^(.)DATADIR = ".*"/, "\\1DATADIR = \"${DATADIR}\"")' < ./raggle > ${BINDIR}/raggle && chmod 755 ${BINDIR}/raggle && \ - cp raggle.1 ${MANDIR} && \ - cp -r ${DOCS} ${DOCDIR} && \ - cp -r ${DATA} ${DATADIR} +- cp raggle.1 ${MANDIR} && \ +- cp -r ${DOCS} ${DOCDIR} && \ +- cp -r ${DATA} ${DATADIR} ++ ${RUBY} -pe 'gsub(/^(.)DATADIR = ".*"/, "\\1DATADIR = \"${DATADIR}\"")' < ./raggle > ${DESTDIR}${BINDIR}/raggle && chmod 755 ${DESTDIR}${BINDIR}/raggle && \ ++ cp raggle.1 ${DESTDIR}${MANDIR} && \ ++ cp -r ${DOCS} ${DESTDIR}${DOCDIR} && \ ++ cp -r ${DATA} ${DESTDIR}${DATADIR} + + apidoc: + rdoc -o doc/api --title "Raggle API Documentation" --webcvs http://cvs.pablotron.org/cgi-bin/viewcvs.cgi/raggle/ raggle README COPYING AUTHORS ChangeLog |