blob: 76355c4ab8af69c91e3a7ae9914ee5ccfd65740b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= yasm
PORTVERSION= 1.2.0.29
DISTVERSIONSUFFIX= .g87c0
CATEGORIES= devel lang
MASTER_SITES= http://www.tortall.net/projects/yasm/snapshots/v${DISTVERSION}${DISTVERSIONSUFFIX}/
PKGNAMESUFFIX= -devel
MAINTAINER= koobs@FreeBSD.org
COMMENT= Complete rewrite of the NASM assembler (Development Snapshot)
LICENSE= ART10 BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
OPTIONS_DEFINE= DEBUG NLS
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-python --disable-python-bindings
NLS_USES= gettext iconv
NLS_CONFIGURE_ENABLE= nls
NLS_CONFIGURE_ON= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
NLS_CONFIGURE_OFF= --without-libiconv-prefix \
--without-libintl-prefix
CONFLICTS_INSTALL= yasm-[0-9]*
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
.if ${ARCH} == "ia64"
CFLAGS:= ${CFLAGS:C/-O[0-9]//g}
.endif
regression-test: build
@cd ${WRKSRC} && ${MAKE} check
.include <bsd.port.mk>
|