aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-18 02:57:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-18 02:57:44 +0800
commit3fd1c23be6ede72e9315236a2eb3c7089ba11120 (patch)
tree8c0c998862b4cce6f161168bef6293765d169d17 /textproc
parent460f35bdc8335ad8b1cbe51630264cb4209e69d5 (diff)
downloadfreebsd-ports-gnome-3fd1c23be6ede72e9315236a2eb3c7089ba11120.tar.gz
freebsd-ports-gnome-3fd1c23be6ede72e9315236a2eb3c7089ba11120.tar.zst
freebsd-ports-gnome-3fd1c23be6ede72e9315236a2eb3c7089ba11120.zip
- Switch to options helpers
- Regenerate patches with `make makepatch`
Diffstat (limited to 'textproc')
-rw-r--r--textproc/replaceit/Makefile4
-rw-r--r--textproc/replaceit/files/patch-Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/textproc/replaceit/Makefile b/textproc/replaceit/Makefile
index 254c9d52d749..0b292a9e911f 100644
--- a/textproc/replaceit/Makefile
+++ b/textproc/replaceit/Makefile
@@ -19,8 +19,12 @@ MAKE_ARGS= CC="${CC}" PRF="${CFLAGS}"
PORTDOCS= CHANGELOG README
PLIST_FILES= bin/replaceit
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/replaceit ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
diff --git a/textproc/replaceit/files/patch-Makefile b/textproc/replaceit/files/patch-Makefile
index 0a3577ade6a8..766645bf8681 100644
--- a/textproc/replaceit/files/patch-Makefile
+++ b/textproc/replaceit/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Aug 17 20:18:18 2001
-+++ Makefile Fri Aug 17 20:20:35 2001
+--- Makefile.orig 2002-04-19 09:08:58 UTC
++++ Makefile
@@ -1,12 +1,11 @@
-PRF=-O2 -Wall
-CC=cc