mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
9d4693d397
PiKdev is a simple graphic IDE for the development of PIC-based applications. It currently supports assembly language. C language is also supported for PIC 18 devices. PiKdev is developed in C++ under Linux, FreeBSD and is based on the KDE environment. WWW: http://pikdev.free.fr/ Approved by: garga (mentor)
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
# New ports collection makefile for: pikdev
|
|
# Date created: 2006-03-14
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pikdev
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= devel kde
|
|
MASTER_SITES= http://pikdev.free.fr/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Simple graphic IDE for the development of PIC-based applications
|
|
|
|
LIB_DEPENDS= fam.0:${PORTSDIR}/devel/gamin \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
RUN_DEPENDS= gpasm:${PORTSDIR}/devel/gputils
|
|
|
|
USE_KDEBASE_VER=3
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
INSTALLS_ICONS= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
|
CONFIGURE_ARGS+= --with-pic=yes
|
|
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= DEBUG "Enable debug information" off \
|
|
NLS "Native Language Support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug=full
|
|
.endif
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
FLAG_NLS= true
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e 's|-Wmissing-prototypes||g' ${WRKSRC}/configure
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e 's|^install-data-am: install-docs install-nls|install-data-am:|g' \
|
|
${WRKSRC}/doc/en/${MAKEFILE}
|
|
.if !defined(FLAG_NLS)
|
|
${REINPLACE_CMD} -e 's|^install-data-am: install-nls|install-data-am:|g' ${WRKSRC}/po/Makefile
|
|
.endif
|
|
|
|
post-install:
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|