blob: a0b7cdabf7b9e19e21b8da41daea9c5c27273b7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: plugin.mk,v 1.5 2008/03/04 17:57:20 jlam 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:Q}
do-install:
cd ${WRKSRC:Q} && \
find . -type f ! -name '*.orig' 2>/dev/null | \
pax -rw ${DESTDIR}${FULL_PLUGIN_DIR}
.include "../../mail/squirrelmail/buildlink3.mk"
|