aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-11-30 18:17:49 +0800
committervs <vs@FreeBSD.org>2005-11-30 18:17:49 +0800
commitafdae72acf4eb4a3da1c3e92be04d0c9f5c33cba (patch)
tree534ba48b50f388b0504940c172d08b8104ea98e4 /textproc
parent1cd3fe90a1186c916af3edbcaf6068e761b2df03 (diff)
downloadfreebsd-ports-graphics-afdae72acf4eb4a3da1c3e92be04d0c9f5c33cba.tar.gz
freebsd-ports-graphics-afdae72acf4eb4a3da1c3e92be04d0c9f5c33cba.tar.zst
freebsd-ports-graphics-afdae72acf4eb4a3da1c3e92be04d0c9f5c33cba.zip
- Fix build on 4.x
- Use PORTDOCS/PLIST_FILES
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-amatch/Makefile14
-rw-r--r--textproc/ruby-amatch/pkg-plist5
2 files changed, 6 insertions, 13 deletions
diff --git a/textproc/ruby-amatch/Makefile b/textproc/ruby-amatch/Makefile
index dc7ad3c51b3..99b317b8814 100644
--- a/textproc/ruby-amatch/Makefile
+++ b/textproc/ruby-amatch/Makefile
@@ -22,19 +22,17 @@ RUBY_SETUP= install.rb
INSTALL_TARGET= site-install
-DOCS= CHANGES README.en
+PLIST_FILES= bin/agrep.rb %%RUBY_SITEARCHLIBDIR%%/amatch.so
+DOCSDIR= ${RUBY_MODDOCDIR}
+PORTDOCS= CHANGES README.en
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
diff --git a/textproc/ruby-amatch/pkg-plist b/textproc/ruby-amatch/pkg-plist
deleted file mode 100644
index 19668ee7a9c..00000000000
--- a/textproc/ruby-amatch/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/agrep.rb
-%%RUBY_SITEARCHLIBDIR%%/amatch.so
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%