blob: 5adfc375caf9bb8e1744938967b16733be8774b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: htmlise
# Date created: 2 Sep 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= htmlise
PORTVERSION= 0.2
CATEGORIES= textproc
MASTER_SITES= http://www.ex-parrot.com/~chris/stuff/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Formats plain text as HTML
MAKE_JOBS_SAFE= yes
TABSIZE?= 8
SRC= htmlise tables markup inline
PLIST_FILES= bin/htmlise
post-patch:
@${REINPLACE_CMD} -e 's|\(TABSIZE\ \)[0-9]*|\1${TABSIZE}|' \
${WRKSRC}/${PORTNAME}.h
do-build:
.for f in ${SRC}
${CC} ${CFLAGS} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o
.endfor
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${SRC:C/(.*)/${WRKSRC}\/\1.o/}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
|