diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2013-12-08 18:59:35 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2013-12-08 18:59:35 +0000 |
commit | 6ad04afc409a856c97a021b0172cf4c185d7e1aa (patch) | |
tree | bc716771127abae434b8aff46551e491a89f926c /mail/squirrelmail-websearch-plugin | |
parent | e8ca1d40300ec507fccd0d7dd7f4e8d50b2562d2 (diff) |
Notes
Diffstat (limited to 'mail/squirrelmail-websearch-plugin')
-rw-r--r-- | mail/squirrelmail-websearch-plugin/Makefile | 12 | ||||
-rw-r--r-- | mail/squirrelmail-websearch-plugin/files/pkg-message.in | 5 | ||||
-rw-r--r-- | mail/squirrelmail-websearch-plugin/pkg-plist | 2 |
3 files changed, 10 insertions, 9 deletions
diff --git a/mail/squirrelmail-websearch-plugin/Makefile b/mail/squirrelmail-websearch-plugin/Makefile index 80d13cf5c92a..82f2f25a5af9 100644 --- a/mail/squirrelmail-websearch-plugin/Makefile +++ b/mail/squirrelmail-websearch-plugin/Makefile @@ -5,17 +5,23 @@ PORTNAME= websearch PORTVERSION= 0.1.6 PORTREVISION= 1 DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION} -DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= Plugin for Websearch LICENSE= GPLv2 -RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin +USE_SM_COMPAT= yes +USE_GENERIC_PKGMESSAGE= yes SQUIRREL_PLUGIN_NAME= web_search +SQUIRREL_PLUGIN_CONFIG= ${SQUIRREL_PLUGIN_NAME}.conf.php NO_STAGE= yes + +post-patch: + @${MV} ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.dist ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.sample + +.include <bsd.port.pre.mk> .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/squirrelmail-websearch-plugin/files/pkg-message.in b/mail/squirrelmail-websearch-plugin/files/pkg-message.in deleted file mode 100644 index fa109fa20163..000000000000 --- a/mail/squirrelmail-websearch-plugin/files/pkg-message.in +++ /dev/null @@ -1,5 +0,0 @@ -For the port to work properly you must copy the file -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/web_search/web_search.conf.php.dist -to -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/web_search/config.php -and edit the configuration to meet your needs. diff --git a/mail/squirrelmail-websearch-plugin/pkg-plist b/mail/squirrelmail-websearch-plugin/pkg-plist index 1ae0dd952326..80fa64ab3fb1 100644 --- a/mail/squirrelmail-websearch-plugin/pkg-plist +++ b/mail/squirrelmail-websearch-plugin/pkg-plist @@ -4,6 +4,6 @@ %%SQUIRRELDIR%%/plugins/web_search/hooks.php %%SQUIRRELDIR%%/plugins/web_search/setup.php %%SQUIRRELDIR%%/plugins/web_search/version -%%SQUIRRELDIR%%/plugins/web_search/web_search.conf.php.dist +%%SQUIRRELDIR%%/plugins/web_search/web_search.conf.php.sample @dirrm %%SQUIRRELDIR%%/plugins/web_search/ @exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin web_search; fi |