aboutsummaryrefslogtreecommitdiff
path: root/www/ljpms
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2005-06-18 18:21:52 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2005-06-18 18:21:52 +0000
commit03ff430e8ff2f45f7bf10dc7cf72e7e0efd6c6ff (patch)
tree3e3070f768241878fa3a1661a36bbae42f4fc58a /www/ljpms
parent445832b421693544b0900dbb2add247e7b700e05 (diff)
downloadports-03ff430e8ff2f45f7bf10dc7cf72e7e0efd6c6ff.tar.gz
ports-03ff430e8ff2f45f7bf10dc7cf72e7e0efd6c6ff.zip
Notes
Diffstat (limited to 'www/ljpms')
-rw-r--r--www/ljpms/Makefile35
-rw-r--r--www/ljpms/distinfo2
-rw-r--r--www/ljpms/files/patch-ljpms.pl17
-rw-r--r--www/ljpms/pkg-descr4
4 files changed, 58 insertions, 0 deletions
diff --git a/www/ljpms/Makefile b/www/ljpms/Makefile
new file mode 100644
index 000000000000..4c216744447a
--- /dev/null
+++ b/www/ljpms/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: ljpms
+# Date created: 12 Aug 2004
+# Whom: ache
+#
+# $FreeBSD$
+#
+
+PORTNAME= ljpms
+PORTVERSION= 1.2
+CATEGORIES= www perl5
+MASTER_SITES= http://ryzh.kiev.ua/ljsm/
+DISTFILES= ljpms-1_2.zip
+
+MAINTAINER= ache@freebsd.org
+COMMENT= Livejournal.com postings mass-restore and permissions utility
+
+RUN_DEPENDS= ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
+ ${SITE_PERL}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite
+
+PLIST_FILES= bin/ljpms
+NO_WRKSUBDIR= yes
+USE_ZIP= yes
+USE_PERL5_RUN= yes
+USE_REINPLACE= yes
+NO_BUILD= yes
+
+EXTRACT_BEFORE_ARGS= -qoaa
+
+do-configure:
+ @${REINPLACE_CMD} -e 's|^#!perl|#!${PERL}|' ${WRKSRC}/ljpms.pl
+
+do-install:
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} ljpms.pl ${PREFIX}/bin/ljpms
+
+.include <bsd.port.mk>
diff --git a/www/ljpms/distinfo b/www/ljpms/distinfo
new file mode 100644
index 000000000000..94f78c6e7a0d
--- /dev/null
+++ b/www/ljpms/distinfo
@@ -0,0 +1,2 @@
+MD5 (ljpms-1_2.zip) = 9f91f30667e2cbbf4db8e82fd0a7a111
+SIZE (ljpms-1_2.zip) = 3049
diff --git a/www/ljpms/files/patch-ljpms.pl b/www/ljpms/files/patch-ljpms.pl
new file mode 100644
index 000000000000..2584b47edb2b
--- /dev/null
+++ b/www/ljpms/files/patch-ljpms.pl
@@ -0,0 +1,17 @@
+--- ljpms.pl.orig Mon Jan 3 15:19:08 2005
++++ ljpms.pl Sat Jun 18 21:59:45 2005
+@@ -1,4 +1,4 @@
+-#!perl
++#!/usr/local/bin/perl
+
+ # CVS: $Id: ljpms.pl,v 2.5 2005/01/03 12:19:08 sasha Exp $
+ # Author: Alexander Nikolaev <sasha_nikolaev@yahoo.com>
+@@ -84,7 +84,7 @@
+ exit(usage('invalidmode')) unless ($modes{$mode} || $mode =~ /^\d+$/);
+ exit (usage('noexport')) unless -d LOCALDIR . "$suser/export";
+
+-if ($suser ne $user) { # post to someone else's journal
++if ($suser ne $user || $mode eq 'restore') { # post to someone else's journal
+ exit usage('invalidmode') if ($mode eq 'delete');
+ exit usage('invalidmode') if ($mode =~ /^\d+$/);
+ print "posting ${suser}'s backdated entries to ${user}'s journal\n";
diff --git a/www/ljpms/pkg-descr b/www/ljpms/pkg-descr
new file mode 100644
index 000000000000..0d99279ea298
--- /dev/null
+++ b/www/ljpms/pkg-descr
@@ -0,0 +1,4 @@
+Livejournal.com utility to mass restore user postings or mass change
+permissions.
+
+WWW: http://ryzh.kiev.ua/ljsm/ljpms.html