1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/graphics/libgltext/Makefile
Antoine Brodin 6b05ea8de1 Mark broken: Fails to install
install  -o root -g wheel -m 444 /wrkdirs/usr/ports/graphics/libgltext/work/gltext-0.3.1/src/gltext.h /usr/local/include
install: alpha/alpha: No such file or directory
*** Error code 71

Reported by:	pkg-fallout since august 2013
With hat:	portmgr
2014-01-31 21:32:07 +00:00

69 lines
1.6 KiB
Makefile

# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
PORTNAME= libgltext
PORTVERSION= 0.3.1
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF/gltext/gltext/${PORTVERSION}
DISTNAME= gltext-${PORTVERSION}
MAINTAINER= acm@FreeBSD.org
COMMENT= Portable font rendering library for C++
BROKEN= Fails to install
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_AUTOTOOLS= libtool
USE_GL= glu
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= EXAMPLES
EXAMPLES_DESC= Compile examples, need libglut
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
USE_GL= glut
FLAG_EXAMPLES= true
PLIST_SUB+= EXAMPLES=""
.else
PLIST_SUB+= EXAMPLES="@comment "
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PORTNAME}-${PORTVERSION}.so \
${PREFIX}/lib/${PORTNAME}.so.0
${INSTALL_DATA} ${WRKSRC}/src/.libs/${PORTNAME}.a \
${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.la \
${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/src/gltext.h ${PREFIX}/include
@cd ${PREFIX}/lib && \
${LN} -s ${PORTNAME}.so.0 ${PORTNAME}.so
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${DOCSDIR}
.endif
.if defined(FLAG_EXAMPLES)
.for DIRE in alpha fps simple sizes
@${MKDIR} ${EXAMPLESDIR}/${DIRE}
@cd ${WRKSRC}/examples && \
${INSTALL_DATA} ${DIRE}/${DIRE} ${DIRE}/${DIRE}.cpp ${EXAMPLESDIR}/${DIRE}
.endfor
@${ECHO_MSG} ""
@${ECHO_MSG} " Examples source and binary on ${EXAMPLESDIR}"
@${ECHO_MSG} ""
.endif
.include <bsd.port.mk>