1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/graphics/xmountains/Makefile
2021-04-06 16:31:07 +02:00

36 lines
966 B
Makefile

# Created by: proff@iq.org
PORTNAME= xmountains
PORTVERSION= 2.10
CATEGORIES= graphics x11
MASTER_SITES= https://ftp.mirrorservice.org/sites/archive.raspbian.org/raspbian/pool/main/x/xmountains/ \
https://ftp.unicamp.br/pub/debian/pool/main/x/xmountains/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ak@FreeBSD.org
COMMENT= X11 based fractal landscape generator
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= xorg
USE_XORG= xbitmaps x11
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
post-extract:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6
do-build:
(cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
calcalt.c random.c artist.c xmountains.c X_graphics.c print_alg.c \
-lX11 -lm -o ${PORTNAME})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
.include <bsd.port.mk>