diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-17 19:07:20 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-17 19:07:20 +0000 |
commit | c923325299220cb541c906a572bea54cf069853b (patch) | |
tree | 0d9c9e1a7f7cd88160c926dba42e8bc3dbe11ab9 /games/an/Makefile | |
parent | utilize INFO. (diff) |
- Support USE_GETOPT_LONG
PR: 55664
Submitted by: Ports Fury
Diffstat (limited to 'games/an/Makefile')
-rw-r--r-- | games/an/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/games/an/Makefile b/games/an/Makefile index 380c07b4937f..d7cdc7dd2d6b 100644 --- a/games/an/Makefile +++ b/games/an/Makefile @@ -7,6 +7,7 @@ PORTNAME= an PORTVERSION= 0.95 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} DISTNAME= ${PORTNAME}_${PORTVERSION}.orig @@ -15,18 +16,18 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Fast anagram generator WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_GETOPT_LONG= yes USE_REINPLACE= yes -ALL_TARGET= with-getopt MAN6= an.6 post-patch: - @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|^CC=|CC?=|g ; \ - s|^CFLAGS=-O2|CFLAGS+=|g ; \ - s| make| \$$\(MAKE\)|g' - @${REINPLACE_CMD} -e 's|^\#OBJS|OBJS|' ${WRKSRC}/Makefile @${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 ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6 |