freebsd-ports/www/ach/Makefile
Mathieu Arnold d83ff1e42e Never set WRKSRC when using USE_GITHUB.
If you want to set WRKSRC, set GH_PROJECT instead.
- The GitHub URLs are case insensitive, but the distribution files you
  get out of them are not.
- If the repository was renamed, the old URL will still work, but the
  distribution name will be ith the new name.

Sponsored by:	Absolight
2017-01-03 18:12:13 +00:00

36 lines
748 B
Makefile

# Created by: Carlo Strub <c-s@c-s.li>
# $FreeBSD$
PORTNAME= ACH
PORTVERSION= 1.0.3
DISTVERSIONSUFFIX= -alpha
CATEGORIES= www
MASTER_SITES= GHC
MAINTAINER= danilo@FreeBSD.org
COMMENT= Free, open source tool for complex research problems
LICENSE= GPLv3
USE_MYSQL= yes
USES= php tar
USE_GITHUB= yes
GH_ACCOUNT= Burton
GH_PROJECT= Analysis-of-Competing-Hypotheses
WRKSRC= ${WRKDIR}/${DISTNAME}
NO_BUILD= yes
SUB_FILES+= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
WWWDIR?= ${PREFIX}/www/${PORTNAME}
# Get rid of temp files packaged in the upstream distfile
post-extract:
@${FIND} ${WRKSRC} -type f -not -name .htaccess -a \
-name .\* -delete
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>