summaryrefslogtreecommitdiff
path: root/converters/rss2html/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/rss2html/Makefile')
-rw-r--r--converters/rss2html/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/converters/rss2html/Makefile b/converters/rss2html/Makefile
index 39f22516dfe..8d1b82599ca 100644
--- a/converters/rss2html/Makefile
+++ b/converters/rss2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/01/17 12:02:08 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2010/01/29 16:51:42 joerg Exp $
#
DISTNAME= rss2html-0.8.2
@@ -11,13 +11,23 @@ HOMEPAGE= http://www.nopcode.org/blog/rss2html.html
COMMENT= RSS to HTML converter
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
-INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/doc/rss2html
LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= LIBS=${LIBS:M*:Q}
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/rss2html ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/doc/rss2html.links ${DESTDIR}${PREFIX}/share/doc/rss2html/
+ ${INSTALL_DATA} ${WRKSRC}/doc/usage.example ${DESTDIR}${PREFIX}/share/doc/rss2html/
+ ${INSTALL_DATA} ${WRKSRC}/doc/rss2html.template ${DESTDIR}${PREFIX}/share/doc/rss2html/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rss2html/
+ ${INSTALL_MAN} ${WRKSRC}/doc/rss2html.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"