1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Frederic Culot 2014-02-11 12:45:56 +00:00
parent 6c7af2915a
commit 4c258046ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343738
5 changed files with 12 additions and 39 deletions

View File

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

View File

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

View File

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

View File

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

2
textproc/topic/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
bin/topic
man/man1/topic.1.gz