aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-01 15:06:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-01 15:06:56 +0000
commit5a4f078dc0a79cd243f14c8433408932c2db51b6 (patch)
treef92b23dc5d959d7fd03a85e7991961c2159c57e2 /comms
parent1e667000be295a371d5f5f0c75d6d0e32066d0b3 (diff)
downloadports-5a4f078dc0a79cd243f14c8433408932c2db51b6.tar.gz
ports-5a4f078dc0a79cd243f14c8433408932c2db51b6.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/yaps/Makefile11
-rw-r--r--comms/yaps/files/patch-Makefile8
-rw-r--r--comms/yaps/pkg-plist4
3 files changed, 12 insertions, 11 deletions
diff --git a/comms/yaps/Makefile b/comms/yaps/Makefile
index 7944c8e07dfc..63a4f2790939 100644
--- a/comms/yaps/Makefile
+++ b/comms/yaps/Makefile
@@ -3,23 +3,24 @@
PORTNAME= yaps
PORTVERSION= 0.96
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= comms
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/serialcomm/machines
+MASTER_SITES= SUNSITE/apps/serialcomm/machines
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet Another Pager Software: send messages to pager (SMS, TAP, ...)
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING.GPL
USES= gmake
OPTIONS_DEFINE= DOCS
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/yaps ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/yaps.rc ${STAGEDIR}${PREFIX}/etc/yaps.rc.sample
- ${INSTALL_MAN} ${WRKSRC}/yaps.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/yaps.1 ${STAGEDIR}${PREFIX}/man/man1/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yaps.doc ${WRKSRC}/yaps.html ${STAGEDIR}${DOCSDIR}
diff --git a/comms/yaps/files/patch-Makefile b/comms/yaps/files/patch-Makefile
index 58eb808e59ec..4f48e55ef38c 100644
--- a/comms/yaps/files/patch-Makefile
+++ b/comms/yaps/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2013-11-17 23:01:50.000000000 +0800
-+++ Makefile 2013-11-17 23:04:00.000000000 +0800
-@@ -33,15 +33,15 @@ yaps.doc: yaps.html
+--- Makefile.orig 1997-06-06 15:45:35.000000000 +0400
++++ Makefile 2015-02-26 00:28:11.000000000 +0300
+@@ -33,15 +33,15 @@
lynx -cfg=/dev/null -nolist -dump $< > $@
install: $(DSTFLE) $(CFGFILE)
@@ -15,7 +15,7 @@
$(DSTFLE): yaps
- install -o $(YAPS_USER) -g $(YAPS_GROUP) -m $(YAPS_MODE) -s yaps $@
-+ install -o $(YAPS_USER) -g $(YAPS_GROUP) -m $(YAPS_MODE) -s yaps $(DESTDIR)$@
++ install -m 711 -s yaps $(DESTDIR)$@
$(CFGFILE): yaps.rc
@if [ ! -f $@ ]; then \
diff --git a/comms/yaps/pkg-plist b/comms/yaps/pkg-plist
index d352b9701161..e7a4ea76fecf 100644
--- a/comms/yaps/pkg-plist
+++ b/comms/yaps/pkg-plist
@@ -1,5 +1,5 @@
-bin/yaps
-etc/yaps.rc.sample
+@(root,dialer,2711) bin/yaps
+@sample etc/yaps.rc.sample
man/man1/yaps.1.gz
%%PORTDOCS%%%%DOCSDIR%%/yaps.doc
%%PORTDOCS%%%%DOCSDIR%%/yaps.html