1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/converters/ta2as/Makefile
Sylvio Cesar Teixeira 69e435baf1 - Update to version 0.8.2
Remove file:
files/patch-ta2as.c

PR:		ports/168593
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-06-05 20:43:06 +00:00

47 lines
966 B
Makefile

# New ports collection makefile for: TASM TO AT&T asm
# Date created: Thu Dec 22 14:46:11 UTC 2005
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ta2as
PORTVERSION= 0.8.2
CATEGORIES= converters devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/g}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= TASM to AT&T asm syntax converter (GNU AS)
OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR= yes
USE_ZIP= yes
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
post-extract:
@${CP} -f ${FILESDIR}/strtolower.c ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e \
's|strlwr|strtolower|' ${WRKSRC}/${PORTNAME}.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} main.c strtolower.c ${PORTNAME}.c \
-o ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>