diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-02-28 15:51:02 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-02-28 15:51:02 +0000 |
commit | 4be94b91be34689b7e2d63fe372ded98a3930544 (patch) | |
tree | 752c8f44e9667a46de5f72be74b9ead67e5e7a06 /mail/althea/files | |
parent | 2a1c3c45332d2714d3d82681dfdfaf345bf6c9d6 (diff) | |
download | ports-4be94b91be34689b7e2d63fe372ded98a3930544.tar.gz ports-4be94b91be34689b7e2d63fe372ded98a3930544.zip |
Notes
Diffstat (limited to 'mail/althea/files')
-rw-r--r-- | mail/althea/files/Makefile.bsd | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/mail/althea/files/Makefile.bsd b/mail/althea/files/Makefile.bsd index cec0ff6108b5..84f6ced50a1a 100644 --- a/mail/althea/files/Makefile.bsd +++ b/mail/althea/files/Makefile.bsd @@ -4,20 +4,18 @@ NOMAN= forget it :( objs!= ${MAKE} -V OBJS -f ${.CURDIR}/Makefile SRCS:= ${objs:.o=.cpp} main.cpp -BINDIR=${LOCALBASE}/bin -DOCDIR=${LOCALBASE}/share/doc/${PROG} -PIXDIR=${LOCALBASE}/share/${PROG} +BINDIR=${PREFIX}/bin +DOCDIR=${PREFIX}/share/doc/${PROG} +PIXDIR=${PREFIX}/share/${PROG} # Compiled-in pathes: CXXFLAGS+=-DDOCDIR=\"${DOCDIR}\" -DPIXDIR=\"${PIXDIR}\" # Use the GTK's CFLAGS: -CXXFLAGS+=-I${LOCALBASE}/include/gtk12 -I${LOCALBASE}/include/glib12 \ - -I${LOCALBASE}/include -I${LOCALBASE}/include +CXXFLAGS+=`${GTK_CONFIG} --cflags` # Use the GTK's libraries: -LDADD+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lgtk12 -lgdk12 \ - -Wl,-E -lgmodule12 -lglib12 -lintl -lxpg4 -lXext -lX11 -lm +LDADD+=`${GTK_CONFIG} --libs` # A hack to ensure C++ is called to do the final linking: CC:= ${CXX} @@ -26,9 +24,9 @@ ${DOCDIR}/images ${PIXDIR}: ${MKDIR} $@ beforeinstall: ${DOCDIR}/images ${PIXDIR} - ${INSTALL_DATA} ${.CURDIR}/Documentation/*.* ${DOCDIR} - ${INSTALL_DATA} ${.CURDIR}/Documentation/images/*.* ${DOCDIR}/images - ${INSTALL_DATA} ${.CURDIR}/pixmaps/*.* ${PIXDIR} - ${INSTALL_DATA} ${.CURDIR}/althearc.example ${LOCALBASE}/etc/ + ${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/*.* ${DOCDIR} + ${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/images/*.* ${DOCDIR}/images + ${BSD_INSTALL_DATA} ${.CURDIR}/pixmaps/*.* ${PIXDIR} + ${BSD_INSTALL_DATA} ${.CURDIR}/althearc.example ${PREFIX}/etc/ .include <bsd.prog.mk> |