freebsd-ports/graphics/lcdtest/Makefile

55 lines
1.6 KiB
Makefile
Raw Normal View History

# Created by: Eric P. Scott <eps+pbug0703@ana.com>
# $FreeBSD$
PORTNAME= lcdtest
PORTVERSION= 1.18
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= http://www.brouhaha.com/~eric/software/lcdtest/download/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
These ports are no longer used or cared for. comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
2014-04-28 23:31:31 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= LCD monitor test pattern generator
LICENSE= GPLv3
These ports are no longer used or cared for. comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
2014-04-28 23:31:31 +02:00
RUN_DEPENDS= liberation-fonts-ttf>0:${PORTSDIR}/x11-fonts/liberation-fonts-ttf
USE_SDL= sdl image ttf
CFLAGS+= -I${LOCALBASE}/include -DRELEASE=1.18
LDFLAGS+= -L${LOCALBASE}/lib -lpthread -lSDL -lSDL_image -lSDL_ttf
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
These ports are no longer used or cared for. comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
2014-04-28 23:31:31 +02:00
@${REINPLACE_CMD} -e \
's|/usr/share/fonts/liberation/|${LOCALBASE}/share/fonts/Liberation/|' \
${WRKSRC}/src/lcdtest.c
do-build:
(cd ${WRKSRC}/src && ${CC} ${CFLAGS} -o lcdtest.o -c lcdtest.c)
(cd ${WRKSRC}/src && ${CC} ${LDFLAGS} -o lcdtest lcdtest.o)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/desktop/${PORTNAME}.desktop \
${STAGEDIR}${DESKTOPDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>