On 2018/11/14 07:33, Amorecan wrote:
> Please include it into the ports tree.

Here's a starter diff to fix some things.

What's up with SYSCONFDIR in /var? Config files should be under /etc
unless there is a very good reason.

The uid in PLIST is wrong, start with 1 above the last uid in user.list.

PLIST was generated on an old system, "make update-plist" on an uo-to-date
system will put @rcscript in a different place.

--- Makefile.orig       Wed Nov 14 09:15:11 2018
+++ Makefile    Wed Nov 14 09:22:22 2018
@@ -1,28 +1,26 @@
 # $OpenBSD$
 
-VERSION =      2.22.0
-DISTNAME =     ${VERSION}
-PKGNAME =      i2pd-${VERSION}
+GH_ACCOUNT =   PurpleI2P
+GH_PROJECT =   i2pd
+GH_TAGNAME =   2.22.0
 CATEGORIES =   net
-HOMEPAGE =     http://i2pd.website
-COMMENT =      full-featured C++ inplementation of I2P router
+HOMEPAGE =     https://i2pd.website/
+COMMENT =      full-featured C++ inplementation of I2P router
 
 MAINTAINER =   Ruben Llorente <port...@use.startmail.com>
 
-# BSD 3-clause
+# BSD
 PERMIT_PACKAGE_CDROM = Yes
 
-MASTER_SITES = https://github.com/PurpleI2P/i2pd/archive/
-
 WANTLIB =      ${COMPILER_LIBCXX} boost_date_time boost_filesystem \
                boost_program_options boost_system  c crypto m ssl z
-BUILD_DEPENDS =        devel/boost
-RUN_DEPENDS =  devel/boost
+
 LIB_DEPENDS =  devel/boost
 
+COMPILER =     base-clang ports-gcc base-gcc
+
 USE_GMAKE =    Yes
 
-WRKDIST =      ${WRKDIR}/i2pd-${DISTNAME}
 SYSCONFDIR =   ${VARBASE}/i2pd/.i2pd/
 
 # The upstream makefile has no install target.

Reply via email to