pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/squirrelmail Added some common code for squirrelm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2905dba87d79
branches:  trunk
changeset: 496614:2905dba87d79
user:      martti <martti%pkgsrc.org@localhost>
date:      Wed Jul 06 12:21:17 2005 +0000

description:
Added some common code for squirrelmail plugins. From cube@ in a private mail.

diffstat:

 mail/squirrelmail/plugin.mk |  25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diffs (29 lines):

diff -r 01cab66acdd3 -r 2905dba87d79 mail/squirrelmail/plugin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/squirrelmail/plugin.mk       Wed Jul 06 12:21:17 2005 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: plugin.mk,v 1.1 2005/07/06 12:21:17 martti Exp $
+
+DISTNAME?=             ${PLUGIN_NAME}-${PLUGIN_VERSION}
+PKGNAME=               sm-${PLUGIN_NAME}-${PLUGIN_VERSION}
+CATEGORIES?=           mail
+MASTER_SITES?=         http://www.squirrelmail.org/plugins/
+
+WRKSRC?=               ${WRKDIR}/${PLUGIN_NAME}
+NO_CONFIGURE?=         YES
+NO_BUILD?=             YES
+
+SM_PLUGINDIR=          share/squirrelmail/plugins
+PLUGIN_DIR=            ${SM_PLUGINDIR}/${PLUGIN_NAME}
+FULL_PLUGIN_DIR=       ${PREFIX}/${PLUGIN_DIR}
+
+INSTALLATION_DIRS+=    ${PLUGIN_DIR}
+
+PLIST_SUBST+=          PLUGIN_DIR=${PLUGIN_DIR}
+
+do-install:
+       cd ${WRKSRC} && \
+               ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
+               ${PAX} -rw ${FULL_PLUGIN_DIR}
+
+.include "../../mail/squirrelmail/buildlink3.mk"



Home | Main Index | Thread Index | Old Index