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 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