summaryrefslogtreecommitdiff
path: root/devel/sasm/Makefile
blob: e45607fc58010bb0b04f05c1dea021ed8e35db19 (plain) (blame)
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
PORTNAME=	SASM
DISTVERSIONPREFIX=	v
DISTVERSION=	3.12.1
CATEGORIES=	devel

MAINTAINER=	freebsd@sysctl.cz
COMMENT=	Simple IDE for NASM, MASM, GAS and FASM assembly languages

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		compiler:c++11-lang gl qmake qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	Dman95
USE_GL=		gl
USE_QT=		core gui network widgets buildtools_build

CONFLICTS_INSTALL=	fasm fasm-fpga

DATADIR=	${PREFIX}/share/sasm
DOCSDIR=	${PREFIX}/share/doc/sasm

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/BSD/share/applications/sasm.desktop

post-install:
	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/sasm

.include <bsd.port.mk>