Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

69 lines (53 sloc) 2.493 kB
# $NetBSD: Makefile,v 1.32 2011/04/22 13:45:02 obache Exp $
#
DISTNAME= eGTK_0.3.4
PKGNAME= egtk-0.3.4
PKGREVISION= 7
CATEGORIES= x11
MASTER_SITES= http://www.netlabs.net/hp/richieb/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.netlabs.net/hp/richieb/gtk_eiffel.html
COMMENT= Eiffel/GTK+ interface for SmallEiffel
#LICENSE= Fiffel Forum Freeware License, version 1
DEPENDS+= SmartEiffel-[0-9]*:../../lang/SmartEiffel
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pax
WRKSRC= ${WRKDIR}/eGTK
BUILD_DIRS= C/se
MAKE_FILE= Makefile.se
INSTALLATION_DIRS+= bin lib ${PKGMANDIR}/man1
INSTALLATION_DIRS+= share/egtk/se share/examples/egtk
post-extract:
${FIND} ${WRKSRC} -type d -name "CVS" -print | ${XARGS} ${RM} -rf
${FIND} ${WRKSRC} -type d -name "ise" -print | ${XARGS} ${RM} -rf
${FIND} ${WRKSRC} -type f -name "*.ace" -print | ${XARGS} ${RM} -f
rm -f ${WRKSRC}/examples/tictactoe/core
${RMDIR} ${WRKSRC}/examples/toolbar
${RM} ${WRKSRC}/examples/Makefile
cd ${WRKSRC}/C/se && ${MAKE_PROGRAM} ${MAKE_FLAGS} -f Makefile.se clean
${MV} ${WRKSRC}/bin/egtkbuild ${WRKSRC}/bin/egtkbuild.in
${MV} ${WRKSRC}/man/egtkbuild.1 ${WRKSRC}/man/egtkbuild.1.in
chmod -R go-w ${WRKSRC}
do-configure:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
${WRKSRC}/bin/egtkbuild.in > ${WRKSRC}/bin/egtkbuild
${SED} -e "s,@PREFIX@,${PREFIX},g" \
${WRKSRC}/man/egtkbuild.1.in > ${WRKSRC}/man/egtkbuild.1
${SED} -e "s,@PREFIX@,${PREFIX},g" \
${FILESDIR}/loadpath.se.in > ${WRKDIR}/loadpath.se
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/egtkbuild ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/man/egtkbuild.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/C/se/eif_gtk.a ${DESTDIR}${PREFIX}/lib/libegtk_se.a
cd ${WRKSRC}/lib && pax -rw * ${DESTDIR}${PREFIX}/share/egtk
cd ${WRKSRC} && pax -rw pixmaps ${DESTDIR}${PREFIX}/share/egtk
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/egtk
${INSTALL_DATA} ${WRKSRC}/C/se/cecil.se ${DESTDIR}${PREFIX}/share/egtk/se
${INSTALL_DATA} ${WRKSRC}/C/se/eif_gtk_se.c ${DESTDIR}${PREFIX}/share/egtk/se
cd ${WRKSRC}/examples && pax -rw * ${DESTDIR}${PREFIX}/share/examples/egtk
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/examples/egtk
post-install:
cd ${WRKSRC} && ${INSTALL_DATA} copyright forum.txt ${DESTDIR}${PREFIX}/share/egtk
${INSTALL_DATA} ${WRKDIR}/loadpath.se ${DESTDIR}${PREFIX}/share/egtk/se
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.