aboutsummaryrefslogtreecommitdiff
path: root/www/rubygem-mongrel_cluster
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-09 00:11:47 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-09 00:11:47 +0000
commiteac6867d0f5cab7514345bf6fd8fec0519d6dbb5 (patch)
treefaf2b5f47a992ec357f260ab1b7b2ac2904d38fd /www/rubygem-mongrel_cluster
parent85d080b14b969d5719c61d57356930fd9402ea04 (diff)
downloadports-eac6867d0f5cab7514345bf6fd8fec0519d6dbb5.tar.gz
ports-eac6867d0f5cab7514345bf6fd8fec0519d6dbb5.zip
Notes
Diffstat (limited to 'www/rubygem-mongrel_cluster')
-rw-r--r--www/rubygem-mongrel_cluster/Makefile16
-rw-r--r--www/rubygem-mongrel_cluster/pkg-plist21
2 files changed, 2 insertions, 35 deletions
diff --git a/www/rubygem-mongrel_cluster/Makefile b/www/rubygem-mongrel_cluster/Makefile
index 6bf9c45cbbf1..39ae751ad71f 100644
--- a/www/rubygem-mongrel_cluster/Makefile
+++ b/www/rubygem-mongrel_cluster/Makefile
@@ -19,21 +19,9 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
USE_RC_SUBR= mongrel_cluster
USE_RUBY= yes
USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
REINPLACE_ARGS= -i ""
-
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
- (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
- | ${SED} -E \
- 's,.*share/nls/.+$$,,g \
- ;s,.*etc/rc.d/.+$$,,g \
- ;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
- ;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
- ;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
- ;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
- ;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
- ;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
- ' | ${TR} -s '\n') > temp-pkg-plist
+PLIST_FILES= bin/mongrel_cluster_ctl
post-install:
${RMDIR} ${PREFIX}/${GEM_DOC_DIR}
diff --git a/www/rubygem-mongrel_cluster/pkg-plist b/www/rubygem-mongrel_cluster/pkg-plist
deleted file mode 100644
index ae9d5fb5fe5a..000000000000
--- a/www/rubygem-mongrel_cluster/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-bin/mongrel_cluster_ctl
-%%GEM_CACHE%%
-%%GEM_SPEC%%
-%%GEM_LIB_DIR%%/bin/mongrel_cluster_ctl
-%%GEM_LIB_DIR%%/CHANGELOG
-%%GEM_LIB_DIR%%/COPYING
-%%GEM_LIB_DIR%%/lib/mongrel_cluster/init.rb
-%%GEM_LIB_DIR%%/lib/mongrel_cluster/recipes.rb
-%%GEM_LIB_DIR%%/lib/mongrel_cluster/recipes_1.rb
-%%GEM_LIB_DIR%%/lib/mongrel_cluster/recipes_2.rb
-%%GEM_LIB_DIR%%/LICENSE
-%%GEM_LIB_DIR%%/Manifest
-%%GEM_LIB_DIR%%/README
-%%GEM_LIB_DIR%%/resources/defaults.yaml
-%%GEM_LIB_DIR%%/resources/mongrel_cluster
-%%GEM_LIB_DIR%%/mongrel_cluster.gemspec
-@dirrm %%GEM_LIB_DIR%%/resources
-@dirrm %%GEM_LIB_DIR%%/lib/mongrel_cluster
-@dirrm %%GEM_LIB_DIR%%/lib
-@dirrm %%GEM_LIB_DIR%%/bin
-@dirrm %%GEM_LIB_DIR%%