mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# New ports collection makefile for: bmeps
|
|
# Date created: 6 Jan 2004
|
|
# Whom: Hideyuki KURASHINA <rushani@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bmeps
|
|
PORTVERSION= 1.0.7a
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= rushani@FreeBSD.org
|
|
COMMENT= Convert bitmap images (PNG/JPEG/NetPBM) to EPS
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
netpbm.1:${PORTSDIR}/graphics/netpbm
|
|
|
|
USE_AUTOCONF_VER=213
|
|
USE_BZIP2= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include"
|
|
GNU_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAN1= bmeps.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bmeps ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/bmeps.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/pnmeps.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/libbmeps.a ${PREFIX}/lib
|
|
${INSTALL_MAN} ${WRKSRC}/bmeps.1 ${PREFIX}/man/man1
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/*.css ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/*.html ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/*.pdf ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/*.png ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/*.tex ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/*.txt ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/EXAMPLES/*.bb ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/EXAMPLES/*.jpg ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/EXAMPLES/*.ps ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/EXAMPLES/*.tex ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/DOCU/EXAMPLES/*.txt ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|