Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= udis86 |
8 |
PORTNAME= udis86 |
9 |
PORTVERSION= 1.4 |
9 |
PORTVERSION= 1.7 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 15-35
Link Here
|
15 |
COMMENT= Minimalistic x86 and x86-64 disassembler library |
15 |
COMMENT= Minimalistic x86 and x86-64 disassembler library |
16 |
|
16 |
|
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
USE_GMAKE= yes |
|
|
19 |
|
18 |
|
20 |
.if !defined(NOPORTDOCS) |
19 |
.if !defined(NOPORTDOCS) |
21 |
DOCS= doc.html index.html ss.jpg style.css |
20 |
PORTDOCS= index.html ss.jpg style.css udis86.odt udis86.pdf x86optable.xml x86optable.xsl |
22 |
.endif |
21 |
.endif |
23 |
|
22 |
|
24 |
post-configure: |
23 |
.ifdef(NOPORTDOCS) |
25 |
${REINPLACE_CMD} -e 's, $$(INSTALL_PROGRAM), $$(INSTALL_DATA),' ${WRKSRC}/libudis86/Makefile |
24 |
post-patch: |
26 |
|
25 |
${REINPLACE_CMD} -e '/SUBDIRS \=/s/\. docs//' ${WRKSRC}/Makefile.in |
27 |
post-install: |
|
|
28 |
.if !defined(NOPORTDOCS) |
29 |
${MKDIR} ${DOCSDIR} |
30 |
.for i in ${DOCS} |
31 |
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR} |
32 |
.endfor |
33 |
.endif |
26 |
.endif |
34 |
|
27 |
|
|
|
28 |
regression-test: build |
29 |
@(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} check) |
30 |
|
35 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |