naddy c326edce1b The ${PROJECT}.googlecode.com/files/ master sites are no longer
accessible, but the distfiles are still available at an archive URL.
Introduce MASTER_SITE_GOOGLECODE and use it for all affected ports.

ok czarkoff@ danj@ sthen@
2016-10-01 11:54:14 +00:00

40 lines
922 B
Makefile

# $OpenBSD: Makefile,v 1.7 2016/10/01 11:54:14 naddy Exp $
COMMENT = universal parsing tool & source code generator
V = 4.5.4
PKGNAME = codeworker-${V}
REVISION = 0
CATEGORIES = devel
HOMEPAGE = http://codeworker.free.fr/
MAINTAINER = Vincent Auclair <auclair.vincent@gmail.com>
# LGPL
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c m stdc++
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=codeworker/} \
http://codeworker.free.fr/downloads/
DISTNAME = CodeWorker_SRC${V:S/./_/g}
EXTRACT_SUFX = .zip
MAKE_FLAGS = CXXFLAGS='${CXXFLAGS}' CXX='${CXX}'
USE_GMAKE = Yes
NO_TEST = Yes
WRKDIST=${WRKDIR}/CodeWorker${V:S/./_/g}
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/codeworker ${PREFIX}/bin
${INSTALL_DATA} ${WRKDIST}/libcodeworker.a ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/codeworker
${INSTALL_DATA} ${WRKSRC}/Documentation/* ${PREFIX}/share/examples/codeworker
.include <bsd.port.mk>