- switch to MODCPAN_EXAMPLES and the examples go into the right directory now.
This commit is contained in:
parent
d560f9212d
commit
a9ca445ef3
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2010/09/24 15:32:33 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2010/10/03 15:20:21 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= interface to the Fast Artificial Neural Network library
|
||||
|
||||
DISTNAME= AI-FANN-0.10
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MODULES= cpan
|
||||
@ -21,8 +21,7 @@ LIB_DEPENDS= doublefann::math/fann
|
||||
CONFIGURE_ARGS+= FANN_LIB="${LOCALBASE}/lib" \
|
||||
FANN_INCLUDE"${LOCALBASE}/include"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-FANN
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/*.pl ${PREFIX}/share/examples/p5-FANN
|
||||
MODCPAN_EXAMPLES= Yes
|
||||
MODCPAN_EXAMPLES_DIST= samples
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/30 09:22:58 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/10/03 15:20:21 jasper Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/AI/
|
||||
${P5ARCH}/AI/FANN.pm
|
||||
@ -8,7 +8,7 @@ ${P5ARCH}/auto/AI/FANN/
|
||||
${P5ARCH}/auto/AI/FANN/FANN.bs
|
||||
${P5ARCH}/auto/AI/FANN/FANN.so
|
||||
@man man/man3p/AI::FANN.3p
|
||||
share/examples/p5-FANN/
|
||||
share/examples/p5-FANN/add.pl
|
||||
share/examples/p5-FANN/ox.pl
|
||||
share/examples/p5-FANN/xor.pl
|
||||
share/examples/p5-AI-FANN/
|
||||
share/examples/p5-AI-FANN/add.pl
|
||||
share/examples/p5-AI-FANN/ox.pl
|
||||
share/examples/p5-AI-FANN/xor.pl
|
||||
|
Loading…
x
Reference in New Issue
Block a user