1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/textproc/htmlise/Makefile
Emanuel Haupt 6fe706fd4b - Convert USE_GMAKE to USES=gmake
- Change pkgconfig:build to pkgconfig since it's the same and it's bad practice.
  It accidentally slipped in during the original introduction
- Trim header
2013-07-08 18:42:15 +00:00

34 lines
707 B
Makefile

# Created by: 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>