30 lines
840 B
Makefile
30 lines
840 B
Makefile
# New ports collection makefile for: gchempaint
|
|
# Date created: Mar 18, 2003
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gchempaint
|
|
PORTVERSION= 0.4.5
|
|
CATEGORIES= science
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= pav@FreeBSD.org
|
|
COMMENT= 2D chemical structures editor for GNOME 2
|
|
|
|
LIB_DEPENDS= gcu.2:${PORTSDIR}/science/gchemutils
|
|
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gnomehack gnomeprefix intlhack libgnomeprintui libgnomeui
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER=15
|
|
USE_REINPLACE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$$(datadir)/mime/|${PREFIX}/share/mime/|' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|$$(datadir)/mime$$|${PREFIX}/share/mime|' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|