aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-03 21:33:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-03 21:33:30 +0800
commited0203aab3c453769e25ef99c5f67f8508dfed0c (patch)
tree978a6c6d808eff92f49ddd14c0620a0c28d15a8d /devel
parent51cce114091a193cf055450fdbf6540a429c5282 (diff)
downloadfreebsd-ports-gnome-ed0203aab3c453769e25ef99c5f67f8508dfed0c.tar.gz
freebsd-ports-gnome-ed0203aab3c453769e25ef99c5f67f8508dfed0c.tar.zst
freebsd-ports-gnome-ed0203aab3c453769e25ef99c5f67f8508dfed0c.zip
- Switch to options helpers
- Remove useless patch
Diffstat (limited to 'devel')
-rw-r--r--devel/pccts/Makefile4
-rw-r--r--devel/pccts/files/patch-makefile44
2 files changed, 4 insertions, 44 deletions
diff --git a/devel/pccts/Makefile b/devel/pccts/Makefile
index 99e4a80a2679..16044f6dccf5 100644
--- a/devel/pccts/Makefile
+++ b/devel/pccts/Makefile
@@ -36,11 +36,15 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/pccts
(cd ${WRKSRC}/h && ${INSTALL_DATA} *.c *.cpp *.h \
${STAGEDIR}${PREFIX}/include/pccts)
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CHANGES_FROM_131.txt \
CHANGES_FROM_133.txt CHANGES_FROM_133_BEFORE_MR13.txt \
KNOWN_PROBLEMS.txt README RIGHTS history.ps history.txt \
${STAGEDIR}${DOCSDIR})
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/testcpp && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR} "! -name *.bak")
diff --git a/devel/pccts/files/patch-makefile b/devel/pccts/files/patch-makefile
deleted file mode 100644
index 65dbb7faee18..000000000000
--- a/devel/pccts/files/patch-makefile
+++ /dev/null
@@ -1,44 +0,0 @@
---- makefile.orig Fri May 21 12:06:12 2004
-+++ makefile Fri May 21 12:06:54 2004
-@@ -20,41 +20,11 @@
- #COPT=-O2
-
- pccts:
-- @echo " "
-- @echo " Welcome to PCCTS 1.33MR33 installation"
-- @echo " "
-- @echo " (Version 1.33 Maintenance Release #33)" # mrxxx
-- @echo " "
-- @echo " Released 19 April 2002"
-- @echo " "
-- @echo " Featuring"
-- @echo " ANTLR -- ANother Tool for Language Recognition"
-- @echo " DLG -- DFA-based Lexical Analyzer Generator"
-- @echo " SORCERER -- Source-to-source translator (tree walker)"
-- @echo " "
-- @echo " http://www.antlr.org"
-- @echo " "
-- @echo " Trouble reports to tmoog@polhode.com"
-- @echo " Additional PCCTS 1.33 information at"
-- @echo " http://www.polhode.com"
-- @echo
-- @echo
-- @echo "To substitute gcc for CC to invoke compiler: make CC=gcc"
-- @echo "If there are problems with cr and lf try: unzip -a ..."
-- @echo
--#
- @if [ ! -d $(BINDIR) ] ; then mkdir $(BINDIR) ; fi
-- @echo Making executables...
- (cd ./antlr; $(MAKE) CC="$(CC)" COPT="$(COPT)")
-- @echo antlr executable now in $(BINDIR)
- (cd ./dlg; $(MAKE) CC="$(CC)" COPT="$(COPT)")
-- @echo dlg executable now in $(BINDIR)
- (cd ./sorcerer; $(MAKE) CC="$(CC)" COPT="$(COPT)")
-- @echo sorcerer executable now in $(BINDIR)
- (cd ./support/genmk; $(MAKE) CC="$(CC)" COPT="$(COPT)"; mv genmk ../../$(BINDIR))
-- @echo genmk executable now in $(BINDIR)
-- @echo
-- @echo " PCCTS 1.33MR33 installation complete" # MRXXX
-
- clean:
- (cd ./antlr; $(MAKE) -s clean)