aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/topic
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2014-02-11 20:45:56 +0800
committerculot <culot@FreeBSD.org>2014-02-11 20:45:56 +0800
commitb6be999a62bff38acce4a14e7ca47e596351d84f (patch)
treed166fe1e7e2ab2e9faff5deda6ec68999ed0e98f /textproc/topic
parent16533c66de92d86ccb52ae50298660590767bd64 (diff)
downloadfreebsd-ports-gnome-b6be999a62bff38acce4a14e7ca47e596351d84f.tar.gz
freebsd-ports-gnome-b6be999a62bff38acce4a14e7ca47e596351d84f.tar.zst
freebsd-ports-gnome-b6be999a62bff38acce4a14e7ca47e596351d84f.zip
- Update to 1.03 [1]
- Update MASTER_SITES, MAINTAINER's address, and WWW link [1] - Add LICENSE (BSD 2-Clause) [1] - Support staging PR: ports/186634 [1] Submitted by: Michael S. Sanders <email@freebsd.hypermart.net> (maintainer)
Diffstat (limited to 'textproc/topic')
-rw-r--r--textproc/topic/Makefile17
-rw-r--r--textproc/topic/distinfo4
-rw-r--r--textproc/topic/files/patch-Makefile26
-rw-r--r--textproc/topic/pkg-descr2
-rw-r--r--textproc/topic/pkg-plist2
5 files changed, 12 insertions, 39 deletions
diff --git a/textproc/topic/Makefile b/textproc/topic/Makefile
index 5d17055e173f..34fc2714abad 100644
--- a/textproc/topic/Makefile
+++ b/textproc/topic/Makefile
@@ -1,22 +1,17 @@
# $FreeBSD$
PORTNAME= topic
-PORTVERSION= 1.02
+PORTVERSION= 1.03
CATEGORIES= textproc
-MASTER_SITES= # http://topcat.hypermart.net/code/
+MASTER_SITES= http://freebsd.hypermart.net/code/
-MAINTAINER= mike@topcat.hypermart.net
+MAINTAINER= email@freebsd.hypermart.net
COMMENT= Topic markup parser
-PLIST_FILES= bin/${PORTNAME}
-MAN1= ${PORTNAME}.1
-
-NO_STAGE= yes
-pre-build:
- @${RM} ${WRKSRC}/topic.txt
+LICENSE= BSD2CLAUSE
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/topic ${STAGEDIR}${PREFIX}/bin/topic
+ ${INSTALL_MAN} ${WRKSRC}/topic.1 ${STAGEDIR}${PREFIX}/man/man1/topic.1
.include <bsd.port.mk>
diff --git a/textproc/topic/distinfo b/textproc/topic/distinfo
index 8b70e72c4280..520ea714a721 100644
--- a/textproc/topic/distinfo
+++ b/textproc/topic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (topic-1.02.tar.gz) = 1150cca9b447fbf3cf79305574bc92c1c751a73727735e6f8c49b9171e952ffb
-SIZE (topic-1.02.tar.gz) = 6028
+SHA256 (topic-1.03.tar.gz) = d36d157e08a2bf5258dff1279e2a4aca9ba22ac22e4579fbf68d823c1cedb66f
+SIZE (topic-1.03.tar.gz) = 5810
diff --git a/textproc/topic/files/patch-Makefile b/textproc/topic/files/patch-Makefile
deleted file mode 100644
index 131d8f530d18..000000000000
--- a/textproc/topic/files/patch-Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.orig 2013-01-01 14:00:00.000000000 +0800
-+++ Makefile 2013-08-02 18:27:07.000000000 +0800
-@@ -5,15 +5,17 @@
- CFLAGS+= -Wall -Werror
- BUILD= v1.02
-
--all: prep compile
-+all: topic
-
--prep: ./bin2c.c ./syntax.txt ./markup.txt ./license.txt
-+bin2c: bin2c.c
- $(CC) $(CFLAGS) ./bin2c.c -o ./bin2c
-- ./bin2c -z ./syntax.txt ./syntax.c
-- ./bin2c -z ./markup.txt ./markup.c
-- ./bin2c -z ./license.txt ./license.c
-
--compile: ./topic.c ./syntax.c ./markup.c ./license.c ./topic.1
-+.SUFFIXES: .txt
-+
-+.txt.c: bin2c
-+ ./bin2c -z $(.IMPSRC) $(.TARGET)
-+
-+topic: ./topic.c ./syntax.c ./markup.c ./license.c ./topic.1
- $(CC) $(CFLAGS) -DBUILD="\"$(BUILD)\"" ./topic.c -o ./topic
-
- clean:
diff --git a/textproc/topic/pkg-descr b/textproc/topic/pkg-descr
index b5c1afd07ce1..4e7a11c4b61a 100644
--- a/textproc/topic/pkg-descr
+++ b/textproc/topic/pkg-descr
@@ -1,2 +1,4 @@
TOPIC markup provides a minimal context for plain text databases that
can be read/modified by most text editors, and easily parsed as well.
+
+WWW: http://freebsd.hypermart.net/topic.html
diff --git a/textproc/topic/pkg-plist b/textproc/topic/pkg-plist
new file mode 100644
index 000000000000..ea1ef335abc0
--- /dev/null
+++ b/textproc/topic/pkg-plist
@@ -0,0 +1,2 @@
+bin/topic
+man/man1/topic.1.gz