aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-12-29 17:08:28 +0000
committerChris Rees <crees@FreeBSD.org>2013-12-29 17:08:28 +0000
commit5d471a755584dc83f8a0cba2b68559c3ffbc48e9 (patch)
treebbd26110e5efeaa1dcf014712d7c9a20885925ba /sysutils
parentbaca7c11cdea73419a451d19ddc33251f39a13a3 (diff)
downloadports-5d471a755584dc83f8a0cba2b68559c3ffbc48e9.tar.gz
ports-5d471a755584dc83f8a0cba2b68559c3ffbc48e9.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/aird/Makefile11
-rw-r--r--sysutils/reed/Makefile22
-rw-r--r--sysutils/reed/pkg-plist3
3 files changed, 16 insertions, 20 deletions
diff --git a/sysutils/aird/Makefile b/sysutils/aird/Makefile
index 6c59b113f655..42d6ca8a2b30 100644
--- a/sysutils/aird/Makefile
+++ b/sysutils/aird/Makefile
@@ -8,19 +8,16 @@ MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
MAINTAINER= crees@FreeBSD.org
COMMENT= Handles Apple IR receiver button events
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
USE_RC_SUBR= ${PORTNAME}
-MAN1= ${PORTNAME}.1
-MANCOMPRESSED= yes
ONLY_FOR_ARCHS= i386 amd64
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile
index a4bd43770d82..df907372565a 100644
--- a/sysutils/reed/Makefile
+++ b/sysutils/reed/Makefile
@@ -5,7 +5,7 @@ PORTNAME= reed
PORTVERSION= 5.4
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}
+MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
MAINTAINER= crees@FreeBSD.org
COMMENT= A text pager with autoscrolling and more
@@ -13,14 +13,12 @@ COMMENT= A text pager with autoscrolling and more
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run build patch
+SHEBANG_FILES= wrap breed
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configures
-MAN1= breed.1 reed.1 wrap.1
-
-NO_STAGE= yes
post-patch:
@${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/configures
@${PERL} -pi -e 's!sys/dir.h!dirent.h!g;s!.*getopt.h.*\n!!' \
@@ -31,13 +29,11 @@ post-patch:
${WRKSRC}/fix_bookmarks.pl
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/reed ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/breed ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/wrap ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/fix_bookmarks.pl ${DATADIR}
-.for file in ${MAN1}
- ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/man/man1
-.endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/reed ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/breed ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/wrap ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/fix_bookmarks.pl ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/sysutils/reed/pkg-plist b/sysutils/reed/pkg-plist
index fadfb8e54c06..59b4c23ecc32 100644
--- a/sysutils/reed/pkg-plist
+++ b/sysutils/reed/pkg-plist
@@ -1,5 +1,8 @@
bin/breed
bin/reed
bin/wrap
+man/man1/breed.1.gz
+man/man1/reed.1.gz
+man/man1/wrap.1.gz
share/reed/fix_bookmarks.pl
@dirrm share/reed