35 lines
950 B
Makefile
35 lines
950 B
Makefile
# $NetBSD: Makefile,v 1.32 2014/10/09 14:07:07 wiz Exp $
|
|
|
|
VER= 3.0.2
|
|
DISTNAME= ical-${VER}
|
|
PKGREVISION= 4
|
|
CATEGORIES= time
|
|
MASTER_SITES= https://launchpad.net/ical-tcl/3.x/${VER}/+download/
|
|
EXTRACT_SUFFIX= .tar.gz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://launchpad.net/ical-tcl/
|
|
COMMENT= Calendar application
|
|
|
|
USE_LANGUAGES= c c++
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
|
|
--with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib \
|
|
--with-tclsh=${BUILDLINK_PREFIX.tcl}/bin/tclsh \
|
|
--with-tkconfig=${BUILDLINK_PREFIX.tk}/lib
|
|
|
|
CPPFLAGS+= -DUSE_INTERP_RESULT
|
|
|
|
USE_TOOLS+= gmake gsed
|
|
|
|
PLIST_SUBS+= "PKGVERSION=${VER}"
|
|
|
|
post-configure:
|
|
${TOUCH} ${WRKDIR}/${DISTNAME}/Makefile \
|
|
${WRKDIR}/${DISTNAME}/calendar/Makefile \
|
|
${WRKDIR}/${DISTNAME}/time/Makefile
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|