8216d744ac
their files via a custom do-install target.
29 lines
707 B
Makefile
29 lines
707 B
Makefile
# $NetBSD: Makefile,v 1.6 2008/03/04 16:38:11 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= ccsh-0.0.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ccsh/}
|
|
|
|
MAINTAINER= pancake@phreaker.net
|
|
HOMEPAGE= http://ccsh.sourceforge.net/
|
|
COMMENT= C-like syntax scripting
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
SUBST_CLASSES+= options
|
|
SUBST_MESSAGE.options= Preventing CFLAGS from being overridden.
|
|
SUBST_STAGE.options= post-patch
|
|
SUBST_FILES.options= Makefile
|
|
SUBST_SED.options= -e 's,^CFLAGS =,\#CFLAGS =,g'
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ccsh ${DESTDIR}${PREFIX}/bin/ccsh
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|