diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-01 23:06:56 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-01 23:06:56 +0800 |
commit | 5d1a449012844a028988d767d2f73ba2822799c9 (patch) | |
tree | f92b23dc5d959d7fd03a85e7991961c2159c57e2 /comms | |
parent | 277b2cddd7c4f69080b2afec7cf8ac12a2af3b4b (diff) | |
download | freebsd-ports-gnome-5d1a449012844a028988d767d2f73ba2822799c9.tar.gz freebsd-ports-gnome-5d1a449012844a028988d767d2f73ba2822799c9.tar.zst freebsd-ports-gnome-5d1a449012844a028988d767d2f73ba2822799c9.zip |
- Simplify MASTER_SITES
- Fix installation from non-root
- Fix binary permissions
MFH: 2015Q1
Diffstat (limited to 'comms')
-rw-r--r-- | comms/yaps/Makefile | 11 | ||||
-rw-r--r-- | comms/yaps/files/patch-Makefile | 8 | ||||
-rw-r--r-- | comms/yaps/pkg-plist | 4 |
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 |