blob: f2831633d2159a5fed4d314e19c42fa3a952f0da (
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.4 2007/05/10 10:08:24 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:Q}
do-install:
cd ${WRKSRC:Q} && \
find . -type f ! -name '*.orig' 2>/dev/null | \
pax -rw ${FULL_PLUGIN_DIR}
.include "../../mail/squirrelmail/buildlink3.mk"
|