Lines 6-22
Link Here
|
6 |
# $FreeBSD: ports/devel/elfio/Makefile,v 1.8 2005/11/18 15:37:49 mnag Exp $ |
6 |
# $FreeBSD: ports/devel/elfio/Makefile,v 1.8 2005/11/18 15:37:49 mnag Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= ELFIO |
9 |
PORTNAME= elfio |
10 |
PORTVERSION= 1.0.3 |
10 |
PORTVERSION= 1.0.3 |
|
|
11 |
PORTREVISION= 1 |
11 |
CATEGORIES= devel |
12 |
CATEGORIES= devel |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME:L} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
15 |
DISTNAME= ${PORTNAME:U}-${PORTVERSION} |
14 |
|
16 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
17 |
MAINTAINER= ssedov@mbsd.msk.ru |
16 |
COMMENT= C++ library for reading and generating files in the ELF binary format |
18 |
COMMENT= C++ library for reading and generating files in the ELF binary format |
17 |
|
19 |
|
18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
21 |
USE_GNOME= gnometarget |
|
|
22 |
|
23 |
OPTIONS= EXAMPLES "Install sample programms" on |
24 |
|
25 |
PORTDOCS= * |
26 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
.if !defined(WITHOUT_EXAMPLES) |
30 |
PLIST_SUB+= EXAMPLES="" |
31 |
.else |
32 |
PLIST_SUB+= EXAMPLES="@comment " |
33 |
.endif |
20 |
|
34 |
|
21 |
post-install: |
35 |
post-install: |
22 |
.if !defined(NOPORTDOCS) |
36 |
.if !defined(NOPORTDOCS) |
Lines 28-32
Link Here
|
28 |
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} |
29 |
.endfor |
43 |
.endfor |
30 |
.endif |
44 |
.endif |
|
|
45 |
.if !defined(WITHOUT_EXAMPLES) |
46 |
@${MKDIR} ${EXAMPLESDIR} |
47 |
@${FIND} ${WRKSRC}/Examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \ |
48 |
${EXAMPLESDIR}/ \; |
49 |
.endif |
31 |
|
50 |
|
32 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.post.mk> |