diff options
Diffstat (limited to 'devel/gogs/Makefile')
-rw-r--r-- | devel/gogs/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/gogs/Makefile b/devel/gogs/Makefile index 3b8d713ab0a7..6f9a794eb6a3 100644 --- a/devel/gogs/Makefile +++ b/devel/gogs/Makefile @@ -5,7 +5,7 @@ DISTVERSIONPREFIX= v DISTVERSION= 0.11.91 CATEGORIES= devel www -MAINTAINER= dg@syrec.org +MAINTAINER= dmgk@FreeBSD.org COMMENT= Painless self-hosted Git service LICENSE= MIT @@ -22,6 +22,8 @@ USE_GITHUB= yes GH_ACCOUNT= gogs GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} +GO_TARGET= :${PREFIX}/libexec/${PORTNAME}/${PORTNAME} + OPTIONS_DEFINE= DOCS USERS= git @@ -57,9 +59,7 @@ post-patch: -e 's|^DB_TYPE = mysql$$|DB_TYPE = sqlite3|' \ ${WRKSRC}/conf/app.ini -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} - ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/ +post-install: ${INSTALL_SCRIPT} ${WRKDIR}/gogs ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKDIR}/gogs-rm-data ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKDIR}/gogs-service ${STAGEDIR}${PREFIX}/etc/rc.d/gogs |