1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/x11-toolkits/inti/Makefile
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00

52 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: intk
# Date created: Mar 19, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= inti
PORTVERSION= 1.2
PORTREVISION= 6
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= inti
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of C++ classes for developing GNOME and GTK+ applications
USE_GNOME= glib20 gtk20 atk pango gnomehack gnomeprefix
USE_X_PREFIX= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
post-configure:
@${TOUCH} ${WRKSRC}/inti-config.h.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
@${FIND} ${EXAMPLESDIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
@${FIND} ${PREFIX}/share/gnome/inti -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/share/gnome/inti -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>