diff options
author | steve <steve@FreeBSD.org> | 2000-07-08 03:59:26 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-08 03:59:26 +0800 |
commit | 7879264d29ab2a706345ab21de9f9cd3139efc7a (patch) | |
tree | 0fb8a7b052271f54c6bdf617de3027472d998225 /biology/xmolwt/Makefile | |
parent | c691dd330a3da8e70bfc74508b9fb3b585604a4d (diff) | |
download | freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.gz freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.zst freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.zip |
- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly
PR: 19623
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'biology/xmolwt/Makefile')
-rw-r--r-- | biology/xmolwt/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/biology/xmolwt/Makefile b/biology/xmolwt/Makefile index e43a19ef0440..10eee7611305 100644 --- a/biology/xmolwt/Makefile +++ b/biology/xmolwt/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: xmolwt/gmolwt -# Date created: 1999-08-30 -# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp> +# New ports collection makefile for: xmolwt/gmolwt +# Date created: 1999-08-30 +# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp> # # $FreeBSD$ @@ -13,25 +13,25 @@ MAINTAINER= rmiya@cc.hirosaki-u.ac.jp LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/${DISTNAME} +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -post-configure: - (cd ${WRKSRC}; ${CP} Makefile.gtk Makefile) +WRKSRC= ${WRKDIR}/${DISTNAME} -pre-install: - (cd ${WRKSRC}; strip gmolwt) - ${RM} -rf ${PREFIX}/share/doc/xmolwt - ${MKDIR} ${PREFIX}/share/doc/xmolwt +USE_GMAKE= yes +MAKEFILE= Makefile.gtk +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin - (cd ${PREFIX}/bin; ln -s gmolwt molwt) + ${LN} -sf gmolwt ${PREFIX}/bin/molwt +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/xmolwt ${INSTALL_DATA} ${WRKSRC}/Howtouse.* ${PREFIX}/share/doc/xmolwt ${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/share/doc/xmolwt ${INSTALL_DATA} ${WRKSRC}/Xmolwt ${PREFIX}/share/doc/xmolwt ${INSTALL_DATA} ${WRKSRC}/dot.gtkrc ${PREFIX}/share/doc/xmolwt ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/xmolwt ${INSTALL_DATA} ${WRKSRC}/*.gif ${PREFIX}/share/doc/xmolwt +.endif .include <bsd.port.mk> |