mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Simplify MASTER_SITES
- Fix installation from non-root - Fix binary permissions MFH: 2015Q1
This commit is contained in:
parent
1e667000be
commit
5a4f078dc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380201
@ -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}
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user