diff options
Diffstat (limited to 'graphics/multican')
-rw-r--r-- | graphics/multican/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/graphics/multican/Makefile b/graphics/multican/Makefile index b8ab59eec9a7..f0898e32f02d 100644 --- a/graphics/multican/Makefile +++ b/graphics/multican/Makefile @@ -20,22 +20,21 @@ PLIST_FILES= bin/multican lib/libmultican.so.0 lib/libmultican.so \ PORTDOCS= ChangeLog README TODO -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/canonio.c \ ${WRKSRC}/usbio.c ${WRKSRC}/multican.c + @${REINPLACE_CMD} -e 's|`getconf LFS_CFLAGS`|-w|' \ + ${WRKSRC}/Makefile post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${INSTALL_LIB} ${WRKSRC}/libmultican.so.0 ${PREFIX}/lib/ - ${LN} -sf libmultican.so.0 ${PREFIX}/lib/libmultican.so - ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_LIB} ${WRKSRC}/libmultican.so.0 ${STAGEDIR}${PREFIX}/lib/ + ${LN} -sf libmultican.so.0 ${STAGEDIR}${PREFIX}/lib/libmultican.so + ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |