diff options
author | mat <mat@FreeBSD.org> | 2018-03-31 06:19:51 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-03-31 06:19:51 +0800 |
commit | bc90e75e59140ed3837fca1c9dd0ad1a9fd9d984 (patch) | |
tree | 3b8f3819b54658198250a7f35d685f007ec771ec /www/mattermost-server | |
parent | 19ca21181869486192b5f48cba8d25d17626e9af (diff) | |
download | freebsd-ports-gnome-bc90e75e59140ed3837fca1c9dd0ad1a9fd9d984.tar.gz freebsd-ports-gnome-bc90e75e59140ed3837fca1c9dd0ad1a9fd9d984.tar.zst freebsd-ports-gnome-bc90e75e59140ed3837fca1c9dd0ad1a9fd9d984.zip |
Cleanup a bit.
Sponsored by: Absolight
Diffstat (limited to 'www/mattermost-server')
-rw-r--r-- | www/mattermost-server/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index 326906ca7d72..d9ccb84d9423 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -32,8 +32,6 @@ MATTERMOSTD_GROUP= mattermost USERS= ${MATTERMOSTD_USER} GROUPS= ${MATTERMOSTD_GROUP} -.include <bsd.port.pre.mk> - pre-build: @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} @cd ${WRKSRC} && \ @@ -48,10 +46,8 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/platform ${STAGEDIR}${PREFIX}/bin/mattermostd ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost - ${CP} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample + ${INSTALL_DATA} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample ${MKDIR} ${STAGEDIR}${WWWDIR} - ${CP} -R ${WRKSRC}/fonts ${STAGEDIR}${WWWDIR} - ${CP} -R ${WRKSRC}/i18n ${STAGEDIR}${WWWDIR} - ${CP} -R ${WRKSRC}/templates ${STAGEDIR}${WWWDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n templates' ${STAGEDIR}${WWWDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |