blob: b6e4c81d8f26bba6de91d597a968ccc2b9878bc7 (
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
30
31
32
33
34
35
36
37
38
|
PORTNAME= objconv
DISTVERSION= 2.54
CATEGORIES= devel
MASTER_SITES= http://fuz.su/pub/objconv/ \
https://www.agner.org/optimize/objconv.zip?dummy=/ \
https://archive.org/download/objconv/
MAINTAINER= fuz@fuz.su
COMMENT= Agner Fog's object file converter
WWW= https://www.agner.org/optimize
LICENSE= GPLv1
NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe
NOT_FOR_ARCHS_REASON= source/maindef.h:71:5: This machine has big-endian memory organization. Objconv program will not work
USES= dos2unix zip
# distfile hosted by maintainer and updated in tandem with port
# upstream distfile at https://agner.org/optimize not versioned
PORTSCOUT= ignore:1
NO_WRKSUBDIR= yes
post-extract:
@${MKDIR} ${WRKSRC}/source ${WRKSRC}/extras
@${TAR} xf ${WRKSRC}/source.zip -C ${WRKSRC}/source
@${TAR} xf ${WRKSRC}/extras.zip -C ${WRKSRC}/extras
do-build:
${CXX} ${CXXFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/source/*.cpp
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/extras ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/objconv-instructions.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/extras/*.asm ${STAGEDIR}${DATADIR}/extras
.include <bsd.port.mk>
|