aboutsummaryrefslogtreecommitdiff
path: root/textproc/urlview/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-25 15:06:59 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-25 15:06:59 +0000
commitf8438495a8075f5d4c12be1681c7cac469ea6472 (patch)
tree600b55e1af4b02749f13ead5abe1f4fd4a98e0e1 /textproc/urlview/Makefile
parent4aca91442b9e8d6992d584a68d757ab6c77e8ac8 (diff)
downloadports-f8438495a8075f5d4c12be1681c7cac469ea6472.tar.gz
ports-f8438495a8075f5d4c12be1681c7cac469ea6472.zip
Notes
Diffstat (limited to 'textproc/urlview/Makefile')
-rw-r--r--textproc/urlview/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/textproc/urlview/Makefile b/textproc/urlview/Makefile
index 9cdf324565fa..e5443a4735e9 100644
--- a/textproc/urlview/Makefile
+++ b/textproc/urlview/Makefile
@@ -15,19 +15,23 @@ MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \
MAINTAINER= mexas@bris.ac.uk
COMMENT= URL extractor/launcher
+LICENSE= GPLv2
+
GNU_CONFIGURE= yes
-MAN1= urlview.1
PLIST_FILES= bin/urlview \
- etc/urlview.conf.sample
+ etc/urlview.conf.sample \
+ man/man1/urlview.1.gz
+MAKE_ENV= DESTDIR=${STAGEDIR}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
-e 's/url_handler.sh/firefox/' \
${WRKSRC}/*
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/urlview ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/urlview.man ${STAGEDIR}${MAN1PREFIX}/man/man1/urlview.1
${INSTALL_DATA} ${WRKSRC}/sample.urlview \
- ${PREFIX}/etc/urlview.conf.sample
+ ${STAGEDIR}${PREFIX}/etc/urlview.conf.sample
.include <bsd.port.mk>