-CC=gcc
-BINPATH=bin/
-CFLAGS=-c -Wall -std=gnu99
-DEVFLAGS= -g -o $(BINPATH)devel/outfile-tmp \
--Wextra -Werror -pedantic \
--O0 $(SOURCES)
+# stick to what we have for now
+ONLY_FOR_ARCHS = amd64
+#NOT_FOR_ARCHS =
+#SHARED_ONLY =
+#COMES_WITH =
-SOURCES=main.c
+COMMENT = dbus utilities
-.PHONY: all build clean install
+DISTNAME = dbus-utils-0.1
-all:
- $(CC) $(CFLAGS) $(DEVFLAGS)
+CATEGORIES = misc
-clean:
-build:
-install:
+HOMEPAGE = http://uglyman.kremlin.cc
+MAINTAINER = kremlin <ian@kremlin.cc>
+
+# LGPLv1.3+ (glib)
+PERMIT_PACKAGE_CDROM = Yes
+
+# for now
+WANTLIB = c gio-2.0 glib-2.0
+
+#TODO: see if it's okay to host this
+MASTER_SITES = http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systemd-utl.git;a=snapshot;h=refs/heads/master;sf=tgz
+
+#MODULES = ???
+#BUILD_DEPENDS = ???
+#RUN_DEPENDS = ???
+#TEST_DEPENDS = ???
+LIB_DEPENDS = x11/dbus>=1.8.2v0 \
+ devel/glib2
+
+#MAKE_FLAGS = ???
+#MAKE_ENV = ???
+#FAKE_FLAGS = ???
+#TEST_FLAGS = ???
+
+# build/configuration variables
+#
+#SEPARATE_BUILD = Yes (build in a directory other than WRKSRC)
+#SEPARATE_BUILD = flavored (distinct flavors may share a common WRKSRC)
+CONFIGURE_STYLE = simple
+
+#CFLAGS = ???
+#LDFLAGS = ???
+#MAKE_FILE = ???
+#PKG_ARCH = ??? (* for arch-independent packages)
+#WRKDIST = ??? if other than ${WRKDIR}/${DISTNAME}
+#WRKSRC = ??? if other than ${WRKDIST}
+#WRKBUILD = ??? if other than ${WRKSRC}
+#WRKCONF = ??? if other than ${WRKBUILD}
+
+#ALL_TARGET = ???
+#INSTALL_TARGET = ???
+#TEST_TARGET = ???
+
+.include <bsd.port.mk>
+++ /dev/null
-# TODO: modify below as you test on new machines
-ONLY_FOR_ARCHS = amd64
-#NOT_FOR_ARCHS = ???
-#SHARED_ONLY = ???
-#COMES_WITH = ???
-#BROKEN = reason
-
-COMMENT = Provides drop-in support for systemd utilities hostnamed, \
-localed, timedated, and logind
-
-# TODO: think of better name
-PKGNAME = dbus-utilities
-
-# one package with each component
-#PKGNAME-foo = ??? for multi packages
-
-# for any port that creates shared libraries.
-# both libtool and cmake handle this automatically.
-# for libtool-based ports, have a look at WRKBUILD/shared_libs.log
-#SHARED_LIBS = ???
-
-CATEGORIES = devel
-
-HOMEPAGE = http://uglyman.kremlin.cc
-
-MAINTAINER = ian <ian@kremlin.cc>
-
-# TODO: make sure this stays true/check for GPL poison
-PERMIT_PACKAGE_CDROM = Yes
-PERMIT_PACKAGE_FTP = Yes
-PERMIT_DISTFILES_FTP = Yes
-
-# "make port-lib-depends-check" can help
-#WANTLIB = ???
-
-MASTER_SITES = git://uglyman.kremlin.cc/git/systemd-utl.git \
- http://uglyman.kremlin.cc
-
-# TODO: list deps :(
-# Dependencies
-#MODULES = ???
-#BUILD_DEPENDS = ???
-#RUN_DEPENDS = ???
-#LIB_DEPENDS = ???
-#TEST_DEPENDS = ???
-
-#MAKE_FLAGS = ???
-#MAKE_ENV = ???
-#FAKE_FLAGS = ???
-#TEST_FLAGS = ???
-
-SEPARATE_BUILD = Yes
-USE_GMAKE = Yes
-USE_GROFF = Yes
-# is it okay to use gmake/auto* tools? landry@ ajacoutot@
-# Programs that require GNU libtool to build instead of the OpenBSD one
-# should use this option.
-#USE_LIBTOOL= gnu
-# Set CONFIGURE_STYLE to value corresponding to some standard configuration
-# perl [modbuild]: perl's MakeMaker Makefile.PL (modbuild: perl's
-# Module::Build Build.PL)
-# gnu [autoconf] [old] [dest]: gnu style configure (old: no
-# sysconfdir), (dest: add DESTDIR, does not handle it),
-# (autoconf: needed by port, implies gnu)
-# XXX: cygnus products do NOT use autoconf for making the main
-# configure from configure.in
-# imake [noman]: port uses imake for configuration.
-# (noman: no man page installation)
-# simple: port has its own configure script
-#CONFIGURE_STYLE =
-#CONFIGURE_SCRIPT = ??? (if other than configure)
-#CONFIGURE_ARGS += ${CONFIGURE_SHARED}
-#CONFIGURE_ENV = ???
-
-# for gnu stuff
-#AUTOCONF_VERSION = ??? (defaults to 2.13)
-#AUTOMAKE_VERSION = ??? (defaults to 1.4)
-# config.guess and others are copied here
-#MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC})
-
-# Is the build automagic or is it interactive
-#
-#IS_INTERACTIVE = Yes
-#TEST_IS_INTERACTIVE = Yes
-
-# TODO: flavors, later on
-# Assume you have one multiple choice flavor: 1 2 3 and switches a b.
-# You would write
-#
-#FLAVORS = 1 2 3 a b
-#FLAVOR ?=
-# grab multiple choice value
-#CHOICE = ${FLAVOR:Na:Nb}
-# check that CHOICE is 1 OR 2 OR 3, or error out
-#.if ${CHOICE} == "1"
-# code for 1
-#.elif ${CHOICE} == "2"
-# code for 2
-#.elif ${CHOICE} == "3"
-# code for 3
-#.else
-#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}"
-#.endif
-# check for switches
-#.if ${FLAVOR:Ma}
-# code for a
-#.endif
-#.if ${FLAVOR:Mb}
-# code for b
-#.endif
-
-CFLAGS = ???
-LDFLAGS = ???
-MAKE_FILE = ???
-PKG_ARCH = ??? (* for arch-independent packages)
-#WRKDIST = ??? if other than ${WRKDIR}/${DISTNAME}
-#WRKSRC = ??? if other than ${WRKDIST}
-#WRKBUILD = ??? if other than ${WRKSRC}
-#WRKCONF = ??? if other than ${WRKBUILD}
-
-#ALL_TARGET = ???
-#INSTALL_TARGET = ???
-#TEST_TARGET = ???
-
-.include <bsd.port.mk>