48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/01 05:58:15 jolan Exp $
|
||
|
|
||
|
COMMENT= "berkeley's implementation of the logo programming language"
|
||
|
DISTNAME= ucblogo
|
||
|
V= 5.5
|
||
|
VERSIONED= ${DISTNAME}-${V}
|
||
|
PKGNAME= ${VERSIONED}
|
||
|
DIST_SUBDIR= ${VERSIONED}
|
||
|
CATEGORIES= lang
|
||
|
|
||
|
MASTER_SITES= ftp://ftp.cs.berkeley.edu/pub/ucblogo/
|
||
|
HOMEPAGE= http://www.cs.berkeley.edu/~bh/logo.html
|
||
|
|
||
|
MAINTAINER= Pedro Martelletto <pedro@openbsd.org>
|
||
|
|
||
|
# BSD
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
WRKDIST= ${WRKDIR}/${VERSIONED}
|
||
|
|
||
|
WANTLIB= c m termcap ICE SM X11
|
||
|
NO_REGRESS= Yes
|
||
|
USE_X11= Yes
|
||
|
|
||
|
MAKE_FILE= makefile
|
||
|
ALL_TARGET= logo makehelp helpfiles helpfiles/HELPCONTENTS
|
||
|
|
||
|
CONFIGURE_STYLE=gnu
|
||
|
CONFIGURE_ARGS+=--x-includes=${X11BASE}/include \
|
||
|
--x-libraries=${X11BASE}/lib
|
||
|
|
||
|
pre-configure:
|
||
|
@perl -pi -e 's:\@logopath@:${LOCALBASE}/share/ucblogo:g;' \
|
||
|
${WRKSRC}/init.c
|
||
|
@perl -pi -e 's:\@logohelp@:${LOCALBASE}/share/ucblogo/helpfiles:g;' \
|
||
|
${WRKSRC}/init.c
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/ucblogo/helpfiles
|
||
|
${INSTALL_DATA} ${WRKSRC}/helpfiles/* ${PREFIX}/share/ucblogo/helpfiles
|
||
|
${INSTALL_DATA} ${WRKSRC}/Messages ${PREFIX}/share/ucblogo/messages
|
||
|
${INSTALL_PROGRAM} ${WRKSRC}/logo ${PREFIX}/bin
|
||
|
|
||
|
.include <bsd.port.mk>
|