2013-09-20 16:05:24 +00:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2005-12-22 17:19:16 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ta2as
|
2012-06-05 20:43:06 +00:00
|
|
|
PORTVERSION= 0.8.2
|
2005-12-22 17:19:16 +00:00
|
|
|
CATEGORIES= converters devel
|
2012-06-05 20:43:06 +00:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/g}_src
|
2005-12-22 17:19:16 +00:00
|
|
|
|
2006-12-10 16:33:25 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-12-22 17:19:16 +00:00
|
|
|
COMMENT= TASM to AT&T asm syntax converter (GNU AS)
|
|
|
|
|
2012-06-05 20:43:06 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-03-07 15:59:54 +00:00
|
|
|
USES= zip
|
2005-12-22 17:19:16 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2012-06-05 20:43:06 +00:00
|
|
|
PORTDOCS= *
|
2005-12-22 17:19:16 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
|
|
|
post-extract:
|
2012-06-05 20:43:06 +00:00
|
|
|
@${CP} -f ${FILESDIR}/strtolower.c ${WRKSRC}
|
2005-12-22 17:19:16 +00:00
|
|
|
|
|
|
|
post-patch:
|
2012-06-05 20:43:06 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|strlwr|strtolower|' ${WRKSRC}/${PORTNAME}.c
|
2005-12-22 17:19:16 +00:00
|
|
|
|
|
|
|
do-build:
|
2012-06-05 20:43:06 +00:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} main.c strtolower.c ${PORTNAME}.c \
|
2005-12-22 17:19:16 +00:00
|
|
|
-o ${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
2014-01-09 14:28:30 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
|
2005-12-22 17:19:16 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|