6bd0d65c65
- New, optional Makefile variable HOMEPAGE, specifies a URL for the home page of the software if it has one. - The value of HOMEPAGE is used to add a link from the README.html files. - pkglint updated to know about it. The "correct" location for HOMEPAGE in the Makefile is after MAINTAINER, in that same section.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.5 1998/08/20 15:17:30 tsarna Exp $
|
|
# FreeBSD Id: Makefile,v 1.10 1998/05/04 20:22:31 jseger Exp
|
|
#
|
|
|
|
DISTNAME= arena-0.3.61
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.yggdrasil.com/pub/dist/web/arena/
|
|
|
|
MAINTAINER= tv@netbsd.org
|
|
HOMEPAGE= http://www.yggdrasil.com/Products/Arena/
|
|
|
|
DEPENDS= libwww-5.1m1:../../www/libwww \
|
|
jpeg-6b:../../graphics/jpeg \
|
|
png-1.0.2:../../graphics/png \
|
|
xpm-3.4k:../../graphics/xpm
|
|
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefile
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libwww-include=${PREFIX}/include/w3c-libwww
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${X11BASE}/include -I${WRKDIR}" \
|
|
LDFLAGS="-L${PREFIX}/lib -L${X11BASE}/lib"
|
|
|
|
WRKSRC= ${WRKDIR}/Arena-0.3.61
|
|
|
|
# Arena requires libwww's "config.h" header - it is installed as "wwwconf.h",
|
|
# so make a symlink in ${WRKDIR} and add it to the -I list.
|
|
pre-configure:
|
|
@${LN} -sf ${PREFIX}/include/w3c-libwww/wwwconf.h ${WRKDIR}/config.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Arena/netbsd/arena ${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/Arena
|
|
# XXX not quite right, breaks on some platforms
|
|
# ${INSTALL_DATA} ${WRKSRC}/Arena/Source/arenarc ${PREFIX}/share/Arena/
|
|
${INSTALL_DATA} ${WRKSRC}/Arena/doc/arena.man ${PREFIX}/man/man1/arena.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|