aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-10-19 16:44:04 +0800
committerdemon <demon@FreeBSD.org>2003-10-19 16:44:04 +0800
commit64a7f642500119e0ea1c3e720036235a6d8abd41 (patch)
treef32f1c3eb9540d9d5cfaa99725aa1ad700748391 /chinese
parent5437fac6992ef3061a95e55a48651bc657e309d7 (diff)
downloadfreebsd-ports-gnome-64a7f642500119e0ea1c3e720036235a6d8abd41.tar.gz
freebsd-ports-gnome-64a7f642500119e0ea1c3e720036235a6d8abd41.tar.zst
freebsd-ports-gnome-64a7f642500119e0ea1c3e720036235a6d8abd41.zip
Unbreak.
Remove redundant SITE_PERL declaration. PR: 57199 Submitted by: Autrijus Tang <autrijus@autrijus.org>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/metalist/Makefile17
-rw-r--r--chinese/metalist/pkg-plist131
2 files changed, 12 insertions, 136 deletions
diff --git a/chinese/metalist/Makefile b/chinese/metalist/Makefile
index 572e082f083b..7b196b4dd387 100644
--- a/chinese/metalist/Makefile
+++ b/chinese/metalist/Makefile
@@ -14,8 +14,6 @@ DISTNAME= metalist-${PORTVERSION}
MAINTAINER= autrijus@autrijus.org
COMMENT= A Chinese port of Slash-Like Automatic Storytelling Homepage system
-BROKEN= "Does not compile/install"
-
BUILD_DEPENDS= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server \
${SITE_PERL}/Bundle/Slash.pm:${PORTSDIR}/www/p5-Bundle-Slash \
${SITE_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
@@ -24,11 +22,20 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \
${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
LIB_PERL= ${LOCALBASE}/lib/perl5/${PERL_VER}
-SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
-
DOCS= README README.metalist INSTALL
+CONFLICTS= slash
+
post-install:
@${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+pre-everything::
+.if ${PERL_LEVEL} < 500601
+BROKEN= metalist only supports the ports versions of Perl.
+BROKEN+=If you have installed a Perl port, and are getting this message,
+BROKEN+=please make sure you have given the command \'use.perl port\'
+.endif # ${PERL_LEVEL} < 500601
+
+.include <bsd.port.post.mk>
diff --git a/chinese/metalist/pkg-plist b/chinese/metalist/pkg-plist
index b49e8ff19398..23d87281a53b 100644
--- a/chinese/metalist/pkg-plist
+++ b/chinese/metalist/pkg-plist
@@ -357,8 +357,6 @@ slash/themes/metalist/htdocs/pollBooth.pl
slash/themes/metalist/htdocs/moderation.shtml
slash/themes/metalist/htdocs/metamod.pl
slash/themes/metalist/htdocs/index.pl
-slash/themes/metalist/htdocs/images/zh.gif
-slash/themes/metalist/htdocs/images/zh-sqr-v2.gif
slash/themes/metalist/htdocs/images/wr_cccccc.gif
slash/themes/metalist/htdocs/images/wr.gif
slash/themes/metalist/htdocs/images/wl_cccccc.gif
@@ -396,7 +394,6 @@ slash/themes/metalist/htdocs/images/topics/topicbooks.gif
slash/themes/metalist/htdocs/images/topics/topicask.gif
slash/themes/metalist/htdocs/images/topics/topicannouncements.gif
slash/themes/metalist/htdocs/images/topics/quicklinks.gif
-slash/themes/metalist/htdocs/images/topics/ch12.pl
slash/themes/metalist/htdocs/images/srs.gif
slash/themes/metalist/htdocs/images/sr.gif
slash/themes/metalist/htdocs/images/slr.gif
@@ -615,133 +612,6 @@ slash/plugins/Admin/admin.pl
slash/plugins/Admin/PLUGIN
slash/httpd/slash.conf.def
slash/httpd/slash.conf
-slash/bin/templates/yourPendingSubs;submit;default
-slash/bin/templates/vote;pollBooth;default
-slash/bin/templates/users;menu;default
-slash/bin/templates/userlogin;misc;default
-slash/bin/templates/userInfo;users;default
-slash/bin/templates/undo_mod;comments;default
-slash/bin/templates/topics;menu;default
-slash/bin/templates/topTopics;topics;default
-slash/bin/templates/topAbusers;users;default
-slash/bin/templates/titles;users;default
-slash/bin/templates/titlebar;misc;light
-slash/bin/templates/titlebar;misc;default
-slash/bin/templates/tildeEd;users;default
-slash/bin/templates/three;misc;default
-slash/bin/templates/subEdUser;submit;default
-slash/bin/templates/subEdTable;submit;default
-slash/bin/templates/subEdAdmin;submit;default
-slash/bin/templates/storylink;index;light
-slash/bin/templates/storylink;index;default
-slash/bin/templates/ssihead;misc;default
-slash/bin/templates/ssifoot;misc;default
-slash/bin/templates/showInfoConflict;users;default
-slash/bin/templates/sendPasswdForm;users;default
-slash/bin/templates/selectThreshLabel;misc;default
-slash/bin/templates/select;misc;default
-slash/bin/templates/sectionisolate;misc;default
-slash/bin/templates/sectionindexd;misc;default
-slash/bin/templates/savepoll;pollBooth;default
-slash/bin/templates/saveSub;submit;default
-slash/bin/templates/rereg_mail;messages;default
-slash/bin/templates/regResult;users;default
-slash/bin/templates/recentTopics;misc;default
-slash/bin/templates/reRegisterMail;messages;default
-slash/bin/templates/printCommentsMain;misc;default
-slash/bin/templates/printCommNoArchive;misc;default
-slash/bin/templates/printCommComments;misc;default
-slash/bin/templates/preview_comm;comments;default
-slash/bin/templates/previewSlashbox;users;default
-slash/bin/templates/previewForm;submit;default
-slash/bin/templates/portalmap;misc;default
-slash/bin/templates/portalboxtitle;misc;default
-slash/bin/templates/pollbooth;misc;default
-slash/bin/templates/organisation;misc;default
-slash/bin/templates/newdiscussion;comments;default
-slash/bin/templates/newUserForm;users;default
-slash/bin/templates/netIDInfo;users;default
-slash/bin/templates/motd;misc;default
-slash/bin/templates/moderation;comments;default
-slash/bin/templates/mod_header;comments;default
-slash/bin/templates/mod_footer;comments;default
-slash/bin/templates/modCommentLog;misc;default
-slash/bin/templates/miniAdminMenu;users;default
-slash/bin/templates/metaModerate;metamod;default
-slash/bin/templates/messages;users;default
-slash/bin/templates/mainmenu;misc;default
-slash/bin/templates/main;authors;default
-slash/bin/templates/main;404;default
-slash/bin/templates/loginForm;users;default
-slash/bin/templates/lockTest;misc;default
-slash/bin/templates/listpolls;pollBooth;default
-slash/bin/templates/listTopics;topics;default
-slash/bin/templates/listSections;sections;default
-slash/bin/templates/listReadOnly;users;default
-slash/bin/templates/listBanned;users;default
-slash/bin/templates/listAbuses;admin;default
-slash/bin/templates/linkStory;misc;default
-slash/bin/templates/linkCommentPages;misc;default
-slash/bin/templates/linkComment;misc;default
-slash/bin/templates/isEligible;metamod;default
-slash/bin/templates/index;index;light
-slash/bin/templates/index;index;default
-slash/bin/templates/html-redirect;misc;default
-slash/bin/templates/html-header;misc;default
-slash/bin/templates/header;misc;light
-slash/bin/templates/header;misc;default
-slash/bin/templates/header;misc;admin
-slash/bin/templates/getUserAdmin;users;default
-slash/bin/templates/getOlderStories;misc;default
-slash/bin/templates/genQuickies;submit;default
-slash/bin/templates/formkeyErrors;misc;default
-slash/bin/templates/formbox;misc;default
-slash/bin/templates/formLabel;misc;default
-slash/bin/templates/footer;misc;light
-slash/bin/templates/footer;misc;default
-slash/bin/templates/footer;misc;admin
-slash/bin/templates/fancybox;misc;light
-slash/bin/templates/fancybox;misc;default
-slash/bin/templates/errors;users;default
-slash/bin/templates/errors;comments;default
-slash/bin/templates/editpoll;pollBooth;default
-slash/bin/templates/edit_comment;comments;default
-slash/bin/templates/editUser;users;default
-slash/bin/templates/editSection;sections;default
-slash/bin/templates/editMiscOpts;users;default
-slash/bin/templates/editKey;users;default
-slash/bin/templates/editHome;users;default
-slash/bin/templates/editComm;users;default
-slash/bin/templates/displayThread;misc;default
-slash/bin/templates/displayForm;users;default
-slash/bin/templates/displayForm;submit;default
-slash/bin/templates/display;article;default
-slash/bin/templates/dispTheComments;metamod;default
-slash/bin/templates/dispStory;misc;light
-slash/bin/templates/dispStory;misc;default
-slash/bin/templates/dispLinkComment;misc;default
-slash/bin/templates/dispComment;misc;light
-slash/bin/templates/dispComment;misc;default
-slash/bin/templates/discuss_list;comments;default
-slash/bin/templates/discreate;comments;default
-slash/bin/templates/deleted_cids;comments;default
-slash/bin/templates/del_message;comments;default
-slash/bin/templates/delSection;sections;default
-slash/bin/templates/delSectConfirm;sections;default
-slash/bin/templates/delSectCancel;sections;default
-slash/bin/templates/data;topics;default
-slash/bin/templates/data;submit;default
-slash/bin/templates/data;sections;default
-slash/bin/templates/data;pollBooth;default
-slash/bin/templates/data;misc;default
-slash/bin/templates/data;metamod;default
-slash/bin/templates/data;index;default
-slash/bin/templates/data;comments;default
-slash/bin/templates/data;article;default
-slash/bin/templates/currentAdminUsers;misc;default
-slash/bin/templates/comment_submit;comments;default
-slash/bin/templates/changePasswd;users;default
-slash/bin/templates/admin;menu;default
slash/bin/template-tool
slash/bin/template-check
slash/bin/tailslash
@@ -815,6 +685,5 @@ slash/bin/backup-blocks
@dirrm slash/plugins/Admin
@dirrm slash/plugins
@dirrm slash/httpd
-@dirrm slash/bin/templates
@dirrm slash/bin
@unexec rmdir %D/slash 2>/dev/null || true