Merge Makefile.common back into Makefile now that gmc is gone.
This commit is contained in:
parent
bcb0071422
commit
984293904c
2 changed files with 46 additions and 54 deletions
|
@ -1,18 +1,58 @@
|
|||
# $NetBSD: Makefile,v 1.45 2004/11/12 05:20:43 erh Exp $
|
||||
# $NetBSD: Makefile,v 1.46 2004/12/20 15:58:27 wiz Exp $
|
||||
# FreeBSD Id: Makefile,v 1.16 1997/11/30 19:37:48 vanilla Exp
|
||||
#
|
||||
|
||||
DISTNAME= mc-4.5.51
|
||||
PKGREVISION= 5
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES+= ${MASTER_SITE_GNOME:=stable/sources/mc/}
|
||||
|
||||
MAINTAINER= tech-pkg@NetBSD.org
|
||||
HOMEPAGE= http://www.ibiblio.org/mc/
|
||||
COMMENT= Midnight Commander, a free Norton Commander Clone
|
||||
|
||||
CONFIGURE_ARGS+= --without-x
|
||||
CONFIGURE_ARGS+= --without-tm-x-support
|
||||
BUILD_USES_MSGFMT= YES
|
||||
|
||||
CONFLICTS+= gmc-[0-9]*
|
||||
|
||||
USE_BUILDLINK3= YES
|
||||
USE_PKGLOCALEDIR= YES
|
||||
USE_GNU_TOOLS+= make
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS+= --without-included-gettext
|
||||
CONFIGURE_ARGS+= --with-netrc --with-included-slang
|
||||
CONFIGURE_ARGS+= --with-samba
|
||||
CONFIGURE_ARGS+= --without-gnome
|
||||
CONFIGURE_ARGS+= --without-tk
|
||||
CONFIGURE_ARGS+= --without-tm-x-support
|
||||
CONFIGURE_ARGS+= --without-x
|
||||
|
||||
# Don't pick up readline if it's installed in the build environment.
|
||||
#
|
||||
CONFIGURE_ENV+= ac_cv_header_history_h=no
|
||||
CONFIGURE_ENV+= ac_cv_header_readline_h=no
|
||||
CONFIGURE_ENV+= ac_cv_header_readline_history_h=no
|
||||
CONFIGURE_ENV+= ac_cv_header_readline_readline_h=no
|
||||
|
||||
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q}
|
||||
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
|
||||
|
||||
LIBS+= -lm -ltermcap # -lslang
|
||||
CPPFLAGS+= -Dunix
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "SunOS"
|
||||
CFLAGS+= -DSunOS
|
||||
.endif
|
||||
|
||||
# Remove unwanted directories in a non-GNOME installation.
|
||||
#
|
||||
post-install:
|
||||
cd ${PREFIX}; ${RMDIR} -p share/idl 2>/dev/null || ${TRUE}
|
||||
cd ${PREFIX}; ${RMDIR} -p share/pixmaps/mc 2>/dev/null || ${TRUE}
|
||||
${RMDIR} -p ${PREFIX}/share/idl 2>/dev/null || ${TRUE}
|
||||
${RMDIR} -p ${PREFIX}/share/pixmaps/mc 2>/dev/null || ${TRUE}
|
||||
|
||||
.include "../../sysutils/mc/Makefile.common"
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../devel/glib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
# $NetBSD: Makefile.common,v 1.24 2004/05/04 08:08:19 wiz Exp $
|
||||
|
||||
DISTNAME= mc-4.5.51
|
||||
CATEGORIES+= sysutils
|
||||
MASTER_SITES+= ${MASTER_SITE_GNOME:=stable/sources/mc/}
|
||||
|
||||
MAINTAINER= tech-pkg@NetBSD.org
|
||||
HOMEPAGE= http://www.ibiblio.org/mc/
|
||||
|
||||
BUILD_USES_MSGFMT= yes
|
||||
|
||||
CONFLICTS+= mc-[0-9]* gmc-[0-9]*
|
||||
|
||||
DISTINFO_FILE= ${.CURDIR}/../../sysutils/mc/distinfo
|
||||
PATCHDIR= ${.CURDIR}/../../sysutils/mc/patches
|
||||
|
||||
USE_BUILDLINK3= yes
|
||||
USE_PKGLOCALEDIR= yes
|
||||
USE_GNU_TOOLS+= make
|
||||
|
||||
GNU_CONFIGURE= # defined
|
||||
CONFIGURE_ARGS+= --without-included-gettext
|
||||
CONFIGURE_ARGS+= --with-netrc --with-included-slang
|
||||
CONFIGURE_ARGS+= --with-samba
|
||||
CONFIGURE_ARGS+= --without-tk
|
||||
|
||||
# Don't pick up readline if it's installed in the build environment.
|
||||
#
|
||||
CONFIGURE_ENV+= ac_cv_header_history_h=no
|
||||
CONFIGURE_ENV+= ac_cv_header_readline_h=no
|
||||
CONFIGURE_ENV+= ac_cv_header_readline_history_h=no
|
||||
CONFIGURE_ENV+= ac_cv_header_readline_readline_h=no
|
||||
|
||||
CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
|
||||
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
||||
|
||||
LIBS+= -lm -ltermcap # -lslang
|
||||
CPPFLAGS+= -Dunix
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "SunOS"
|
||||
CFLAGS+= -DSunOS
|
||||
.endif
|
||||
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../devel/glib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
Loading…
Reference in a new issue