freebsd-ports/devel/templ/files/patch-aa
Chris Piazza ffbb44191b Import of templ, a source code template generator. Has support
for C, C++,Makefiles, etc.

PR:	12261
Submitted by:	Oh Junseon <hollywar@mail.holywar.net>
1999-06-23 19:53:23 +00:00

19 lines
467 B
Plaintext

--- Makefile.orig Wed Jun 16 22:27:02 1999
+++ Makefile Wed Jun 23 12:48:55 1999
@@ -20,12 +20,12 @@
#
#CC = cc
-CC = gcc
+CC ?= gcc
MAN1 = README
# If you want to show only default color , remove "-DANSI_COLOR"
-CFLAG = -g -DANSI_COLOR
+CFLAG = ${CFLAGS} -DANSI_COLOR
PROG = templ
-DESTDIR = /usr/local
+DESTDIR = ${PREFIX}
TEMPLS = t.c t.cc t.css t.html t.makefile t.pl t.pmakefile t.py t.sh t.txt t.sgml
TEMPLDIR = ${DESTDIR}/share/templates
RM = rm -f