aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-20 19:49:47 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-20 19:49:47 +0000
commit61e09a045de0bdcd773a4a91e5cb9bbd6cfac245 (patch)
tree918faa116b8c9f94c24f6a5f12e53db47766188d
parent7e1040d22c23d707864508dbfe75ad42c4da2a1a (diff)
downloadports-61e09a045de0bdcd773a4a91e5cb9bbd6cfac245.tar.gz
ports-61e09a045de0bdcd773a4a91e5cb9bbd6cfac245.zip
Notes
-rw-r--r--comms/yaps/Makefile23
-rw-r--r--comms/yaps/pkg-plist7
2 files changed, 13 insertions, 17 deletions
diff --git a/comms/yaps/Makefile b/comms/yaps/Makefile
index b2d64a9ace11..2fe6903c9842 100644
--- a/comms/yaps/Makefile
+++ b/comms/yaps/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: yaps
-# Date created: Di 29 Sep 1998 15:51:27 CEST
-# Whom: se
-#
+# Created by: se
# $FreeBSD$
-#
PORTNAME= yaps
PORTVERSION= 0.96
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/serialcomm/machines
@@ -15,17 +11,24 @@ MASTER_SITE_SUBDIR= apps/serialcomm/machines
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet Another Pager Software: send messages to pager (SMS, TAP, ...)
+LICENSE= GPLv2
+
USE_GMAKE= true
MAN1= yaps.1
+PLIST_FILES= bin/yaps etc/yaps.rc.sample
+PORTDOCS= yaps.doc yaps.html
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
post-install:
${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample
${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/yaps
- ${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps
- ${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/yaps.doc ${WRKSRC}/yaps.html ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/comms/yaps/pkg-plist b/comms/yaps/pkg-plist
deleted file mode 100644
index a40dc38be2c4..000000000000
--- a/comms/yaps/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/yaps
-@exec mkdir -p %D/share/yaps
-etc/yaps.rc.sample
-%%PORTDOCS%%%%DOCSDIR%%/yaps.doc
-%%PORTDOCS%%%%DOCSDIR%%/yaps.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry share/yaps