1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/gpsim/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: gpsim
# Date created: 2006-03-13
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= gpsim
PORTVERSION= 0.22.0
PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= acm@FreeBSD.org
COMMENT= A software simulator for Microchip PIC microcontrollers
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
gtkextra-x11-2.0.1:${PORTSDIR}/x11-toolkits/gtkextra2
RUN_DEPENDS= gpasm:${PORTSDIR}/devel/gputils
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for FILE in AUTHORS ChangeLog PROCESSORS README* doc/gpsim.pdf
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples && \
${FIND} * -type d -exec ${MKDIR} "${EXAMPLESDIR}/{}" \; && \
${FIND} -E * -type f -iregex ".*\.(asm|stc|inc)" -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \;
.include <bsd.port.post.mk>