1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/an/Makefile
Danilo Egea Gondolfo 30c9cb4fcf - Add stage support
- Remove pkg-plist
2013-10-29 20:06:32 +00:00

31 lines
685 B
Makefile

# Created by: proff
# $FreeBSD$
PORTNAME= an
PORTVERSION= 0.95
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast anagram generator
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz
post-patch:
@${REINPLACE_CMD} -e '/<stdint.h>/d' ${WRKSRC}/an.c
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} an.c gan_qsort.c \
-o ${PORTNAME} ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/an ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/an.6 ${STAGEDIR}${MANPREFIX}/man/man6
.include <bsd.port.mk>