summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-23 19:53:23 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-23 19:53:23 +0000
commitffbb44191b47aef7c06e26750ffb0085f5b334d2 (patch)
tree8466972e55f819a9b225abbd6353c28830b7e559 /devel
parentFix PLIST to reflect the fact that I changed xemacs.sh to xemacs21.sh (diff)
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>
Notes
Notes: svn path=/head/; revision=19730
Diffstat (limited to 'devel')
-rw-r--r--devel/templ/Makefile22
-rw-r--r--devel/templ/distinfo1
-rw-r--r--devel/templ/files/patch-aa18
-rw-r--r--devel/templ/pkg-comment1
-rw-r--r--devel/templ/pkg-descr20
-rw-r--r--devel/templ/pkg-plist15
6 files changed, 77 insertions, 0 deletions
diff --git a/devel/templ/Makefile b/devel/templ/Makefile
new file mode 100644
index 000000000000..f6b8072b4468
--- /dev/null
+++ b/devel/templ/Makefile
@@ -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>
diff --git a/devel/templ/distinfo b/devel/templ/distinfo
new file mode 100644
index 000000000000..cd229275f6ba
--- /dev/null
+++ b/devel/templ/distinfo
@@ -0,0 +1 @@
+MD5 (templ-0.2.tar.gz) = e8f33c993e739db1078a4e9d8a755e3f
diff --git a/devel/templ/files/patch-aa b/devel/templ/files/patch-aa
new file mode 100644
index 000000000000..8c4ac546b2b1
--- /dev/null
+++ b/devel/templ/files/patch-aa
@@ -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
diff --git a/devel/templ/pkg-comment b/devel/templ/pkg-comment
new file mode 100644
index 000000000000..21fef6d4eb50
--- /dev/null
+++ b/devel/templ/pkg-comment
@@ -0,0 +1 @@
+Source code templates generator.
diff --git a/devel/templ/pkg-descr b/devel/templ/pkg-descr
new file mode 100644
index 000000000000..5cfe317adec3
--- /dev/null
+++ b/devel/templ/pkg-descr
@@ -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>
diff --git a/devel/templ/pkg-plist b/devel/templ/pkg-plist
new file mode 100644
index 000000000000..cf39b0f9514f
--- /dev/null
+++ b/devel/templ/pkg-plist
@@ -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