pkgsrc-wip/linux-chprofessional/Makefile
2006-08-24 06:49:04 +00:00

46 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2006/08/24 06:49:04 thomasklausner Exp $
DISTNAME= chprofessional-4.0.0.linux2.2.5.intel
PKGNAME= linux-chprofessional-4.0.0
CATEGORIES= devel
MASTER_SITES= http://www.softintegration.com/download/software/release/Linux/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.softintegration.com/products/chprofessional/
COMMENT= Ch is an interactive C development environment
NO_BUILD= yes
#
# I have included chpro-license for pkgsrc-wip purposes as
# linux-chprofessional/licenses/chpro-license. Basically,
# this tool is free for academic purposes *only*. For personal
# or commercial use, go for Ch standard edition
#
LICENSE= chpro-license
#
# Webpage claims, that there are ports for Solaris, HP-UX, MacOS
# and Windows. Unfortunatley, I can't test on those, so until someone
# does this... :
#
ONLY_FOR_PLATFORM= *-i386
do-install:
cd ${WRKSRC} && ${SETENV} PREFIX="${PREFIX}" ./install.sh
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${PREFIX} && ${FIND} chprofessional4.0.0 -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} chprofessional4.0.0 -type l -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d chprofessional4.0.0 -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../emulators/suse_linux/Makefile.application"
.if ${OPSYS} == "NetBSD"
DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif
.include "../../mk/bsd.pkg.mk"