4c46ca73d8
Add USES=xorg and USES=gl to ports in categories starting with 'x' While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
38 lines
861 B
Makefile
38 lines
861 B
Makefile
# Created by: Miguel Mendez <flynn@energyhq.homeip.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= decurs
|
|
PORTVERSION= 0.55.1
|
|
PORTREVISION= 14
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple X11 mouse cursor editor
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libgtkmm-2.0.so:x11-toolkits/gtkmm20
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= danfe
|
|
GH_TAGNAME= 10c5691
|
|
|
|
USES= compiler:c++11-lang dos2unix gnome pkgconfig xorg
|
|
DOS2UNIX_FILES= src/cppstring.cc
|
|
GNU_CONFIGURE= yes
|
|
USE_XORG= x11
|
|
USE_GNOME= gtk20
|
|
|
|
post-patch:
|
|
@${SED} -e 's:%%PREFIX%%:${PREFIX}:' \
|
|
${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/decurs \
|
|
${STAGEDIR}${PREFIX}/bin/decurs.bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/decurs.exec ${STAGEDIR}${PREFIX}/bin/decurs
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.bdf ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|