1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

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>
This commit is contained in:
Chris Piazza 1999-06-23 19:53:23 +00:00
parent 825aeb45c0
commit ffbb44191b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19730
6 changed files with 77 additions and 0 deletions

22
devel/templ/Makefile Normal file
View File

@ -0,0 +1,22 @@
# New ports collection makefile for: templ
# Version required: 0.2
# Date created: 14 Jun 1999
# Whom: Oh Junseon <hollywar@mail.holywar.net>
#
# $Id$
#
DISTNAME= templ-0.2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.holywar.net/pub/templ/ \
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
MAINTAINER= hollywar@mail.holywar.net
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/templates
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/templates
.endif
.include <bsd.port.mk>

1
devel/templ/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (templ-0.2.tar.gz) = e8f33c993e739db1078a4e9d8a755e3f

View File

@ -0,0 +1,18 @@
--- 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

1
devel/templ/pkg-comment Normal file
View File

@ -0,0 +1 @@
Source code templates generator.

20
devel/templ/pkg-descr Normal file
View File

@ -0,0 +1,20 @@
templ
-----
templ is a source code templates generator utility.
supported type list :
[ c : C ]
[ cc : C++ ]
[ css : Cascading Style Sheet ]
[ html : HTML ]
[ makefile : Makefile ]
[ pl : Perl ]
[ pmakefile : BSD Port Makefile ]
[ py : Python ]
[ sh : Shell Script ]
[ sgml : SGML ]
[ txt : Text File ]
--
Made by Oh Junseon <hollywar@mail.holywar.net>

15
devel/templ/pkg-plist Normal file
View File

@ -0,0 +1,15 @@
bin/templ
share/templates/t.c
share/templates/t.cc
share/templates/t.css
share/templates/t.html
share/templates/t.makefile
share/templates/t.pl
share/templates/t.pmakefile
share/templates/t.py
share/templates/t.sgml
share/templates/t.sh
share/templates/t.txt
share/doc/templates/README
@dirrm share/templates
@dirrm share/doc/templates