aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/preferences.app
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-13 15:38:27 +0800
committerdinoex <dinoex@FreeBSD.org>2003-04-13 15:38:27 +0800
commit1cc1e7a344cdecd0e5531c227cebca2793a3d2ce (patch)
tree2c25057c52c347bca7c43e0c4e66c199842afbf3 /deskutils/preferences.app
parentdd39192df6ad45880ffe9596b55ca7d6bb24f07f (diff)
downloadfreebsd-ports-gnome-1cc1e7a344cdecd0e5531c227cebca2793a3d2ce.tar.gz
freebsd-ports-gnome-1cc1e7a344cdecd0e5531c227cebca2793a3d2ce.tar.zst
freebsd-ports-gnome-1cc1e7a344cdecd0e5531c227cebca2793a3d2ce.zip
- Use libobjc.so
- Cleanup - Use bsd.gnustep.mk PR: 50479
Diffstat (limited to 'deskutils/preferences.app')
-rw-r--r--deskutils/preferences.app/Makefile33
1 files changed, 8 insertions, 25 deletions
diff --git a/deskutils/preferences.app/Makefile b/deskutils/preferences.app/Makefile
index 99ae57f0bfc9..927868477f97 100644
--- a/deskutils/preferences.app/Makefile
+++ b/deskutils/preferences.app/Makefile
@@ -16,46 +16,29 @@ DISTNAME= Preferences-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= GNUstep workspace manager
-BUILD_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall
-RUN_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back
-
USE_BZIP2= yes
-INSTALLS_SHLIB= yes
PREFIX= ${LOCALBASE}/GNUstep
+NO_MTREE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
ALL_TARGET=
-NO_MTREE= yes
-USE_GCC= 3.2
+INSTALLS_SHLIB= yes
+
MODIFY= GNUmakefile.preamble PrefsModule/GNUmakefile.preamble \
Modules/Keyboard/GNUmakefile.preamble \
Modules/PrefsApp/GNUmakefile.preamble
-BACKBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
-
-.include <bsd.port.pre.mk>
-
-.if ${MACHINE_ARCH} == "i386"
-GNU_ARCH= ix86
-.else
-GNU_ARCH= ${MACHINE_ARCH}
-.endif
-
-PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L}
-
post-patch:
.for i in ${MODIFY}
@${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
${SED} -e "s= -Werror==" ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor
-do-build:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+.include <bsd.port.pre.mk>
-do-install:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+USE_GNUSTEP_BACK= yes
+USE_GNUSTEP_BUILD= yes
+USE_GNUSTEP_INSTALL= yes
+.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"
.include <bsd.port.post.mk>